- Add x86_64 support to vm_x86.c

- Fix warning on mingw64
This commit is contained in:
Thilo Schulz committed 2011-06-01 15:17:18 +00:00
1 parent 3e229af710
commit c174143dc2
10 files changed
+349 -94

No files matched your search

+1 -1
View File
@@ -272,7 +272,7 @@ void emit(const char* fmt, ...)
#define PREPARE_JMP(reg) \
CHECK_INSTR_REG(reg); \
emit("movq $%"PRIu64", %%rsi", (intptr_t)vm->instructionPointers); \
emit("movl (%%rsi, %%rax, 4), %%eax"); \
emit("movl (%%rsi, %%rax, 8), %%eax"); \
emit("addq %%r10, %%rax")
#define CHECK_INSTR(nr) \