From 6b0824852677cc12570c20a3211fbfe0e4f0ce14 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Mon, 28 Aug 2017 10:43:37 +0200 Subject: [PATCH] x64/LJ_GC64: Fix fallback case of asm_fuseloadk64(). Contributed by Peter Cawley. --- src/lj_asm_x86.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h index 3e189b1d..55c02d24 100644 --- a/src/lj_asm_x86.h +++ b/src/lj_asm_x86.h @@ -387,6 +387,7 @@ static Reg asm_fuseloadk64(ASMState *as, 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); } as->mrm.ofs = (int32_t)mcpofs(as, as->mctop - ir->i); as->mrm.base = RID_RIP;