Skip to content

Commit

Permalink
x64/LJ_GC64: Fix emit_loadk64().
Browse files Browse the repository at this point in the history
Contributed by Peter Cawley.
  • Loading branch information
Mike Pall committed Mar 21, 2017
1 parent 024ade7 commit 78f5f1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lj_emit_x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 78f5f1c

Please sign in to comment.