Skip to content

Commit

Permalink
x64/LJ_GC64: Fix asm_fuseloadk64()
Browse files Browse the repository at this point in the history
LuaJIT/LuaJIT@78f5f1ce fixed emit_loadk64, but
overlooked asm_fuseloadk64.

Contributed by Peter Cawley.
  • Loading branch information
CapsAdmin committed Aug 28, 2017
1 parent 59a3e9f commit fabab00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lj_asm_x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,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;
Expand Down

0 comments on commit fabab00

Please sign in to comment.