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 authored and lukego committed Aug 13, 2017
1 parent 5126a06 commit de9a886
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 @@ -351,6 +351,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));
}
Expand Down

0 comments on commit de9a886

Please sign in to comment.