浏览代码

x64/LJ_GC64: Fix emit_loadk64().

Contributed by Peter Cawley.
Mike Pall 8 年之前
父节点
当前提交
78f5f1cef1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/lj_emit_x86.h

+ 1 - 0
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