diff options
author | Keith Whitwell <[email protected]> | 2008-02-13 12:35:16 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-02-13 12:36:32 +0000 |
commit | 8162d317d2f6f2dcc31f31c0c2d663c33dfee053 (patch) | |
tree | fca0447312e47867d8cea4d4e828b9bc58166352 /src/mesa/x86/rtasm/x86sse.h | |
parent | a3534a27bfc9827a12d83f7b6464af98424cf8d4 (diff) |
x86: emit absolute calls, as reallocating exec mem breaks relative ones
Diffstat (limited to 'src/mesa/x86/rtasm/x86sse.h')
-rw-r--r-- | src/mesa/x86/rtasm/x86sse.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/x86/rtasm/x86sse.h b/src/mesa/x86/rtasm/x86sse.h index d53b6d71a6b..c2aa416492e 100644 --- a/src/mesa/x86/rtasm/x86sse.h +++ b/src/mesa/x86/rtasm/x86sse.h @@ -119,7 +119,8 @@ void x86_fixup_fwd_jump( struct x86_function *p, void x86_jmp( struct x86_function *p, unsigned char *label ); -void x86_call( struct x86_function *p, void (*label)() ); +/* void x86_call( struct x86_function *p, void (*label)() ); */ +void x86_call( struct x86_function *p, struct x86_reg reg); /* michal: * Temporary. As I need immediate operands, and dont want to mess with the codegen, |