summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2017-03-21 10:10:20 +0100
committerMike Pall <mike>2017-03-21 10:10:20 +0100
commit78f5f1cef19502289604299e4e6d00e14411f764 (patch)
tree0ffb0399fd0a4b7383ce9b5366007573aca4b0d7
parent024ade796fab2aaac61df9742073eb48b79364be (diff)
downloadluajit2-78f5f1cef19502289604299e4e6d00e14411f764.tar.gz
x64/LJ_GC64: Fix emit_loadk64().
Contributed by Peter Cawley.
-rw-r--r--src/lj_emit_x86.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_emit_x86.h b/src/lj_emit_x86.h
index a6b8713e..5207f9da 100644
--- a/src/lj_emit_x86.h
+++ b/src/lj_emit_x86.h
@@ -392,6 +392,7 @@ static void emit_loadk64(ASMState *as, Reg r, IRIns *ir)
ir->i = (int32_t)(as->mctop - as->mcbot);
as->mcbot += 8;
as->mclim = as->mcbot + MCLIM_REDZONE;
+ lj_mcode_commitbot(as->J, as->mcbot);
}
emit_rmro(as, xo, r64, RID_RIP, (int32_t)mcpofs(as, as->mctop - ir->i));
#else