From 31ce89361d06c26d869a7e5ad8e5a6011d7e09a2 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 15 Sep 2009 06:30:00 +0000 Subject: [PATCH] Fixed amd64 JIT output bug. Partially fixes Bugzilla #4271. --- code/qcommon/vm_x86_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/vm_x86_64.c b/code/qcommon/vm_x86_64.c index d2b3683c..e5ef4557 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