aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoricculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-09-15 06:30:00 +0000
committericculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-09-15 06:30:00 +0000
commitc6b984cf26aa109656433dd274d33146e44b741e (patch)
tree3ff422ffa67e38f09ebac97f60e66ad393214d6d
parent440ad53fabb854ff2278d4f0ba6093085074b0f5 (diff)
downloadioquake3-aero-c6b984cf26aa109656433dd274d33146e44b741e.tar.gz
ioquake3-aero-c6b984cf26aa109656433dd274d33146e44b741e.zip
Fixed amd64 JIT output bug.
Partially fixes Bugzilla #4271. git-svn-id: svn://svn.icculus.org/quake3/trunk@1625 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--code/qcommon/vm_x86_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/vm_x86_64.c b/code/qcommon/vm_x86_64.c
index d2b3683..e5ef455 100644
--- a/code/qcommon/vm_x86_64.c
+++ b/code/qcommon/vm_x86_64.c
@@ -246,7 +246,7 @@ void emit(const char* fmt, ...)
#else
#define JMPIARG \
emit("movq $%lu, %%rax", vm->codeBase+vm->instructionPointers[iarg]); \
- emit("jmpq *%rax");
+ emit("jmpq *%%rax");
#endif
// integer compare and jump