From 78f5f1cef19502289604299e4e6d00e14411f764 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Tue, 21 Mar 2017 10:10:20 +0100 Subject: [PATCH] x64/LJ_GC64: Fix emit_loadk64(). Contributed by Peter Cawley. --- src/lj_emit_x86.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lj_emit_x86.h b/src/lj_emit_x86.h index a6b8713e00..5207f9dada 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