summaryrefslogtreecommitdiff
path: root/gen_x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'gen_x86.c')
-rw-r--r--gen_x86.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gen_x86.c b/gen_x86.c
index 2da8055..2840ba0 100644
--- a/gen_x86.c
+++ b/gen_x86.c
@@ -207,7 +207,6 @@ void check_alloc_code(code_info *code, uint32_t inst_size)
//new chunk is not contiguous with the current one
jmp_nocheck(code, next_code);
code->cur = next_code;
- code->last = next_code + size/sizeof(RESERVE_WORDS);
}
code->last = next_code + size/sizeof(code_word) - RESERVE_WORDS;
}