x64/LJ_GC64: Fix fallback case of asm_fuseloadk64().

Contributed by Peter Cawley.
This commit is contained in:
Mike Pall 2017-08-28 10:43:37 +02:00
parent 9634fa9814
commit 6b08248526

View File

@ -387,6 +387,7 @@ static Reg asm_fuseloadk64(ASMState *as, IRIns *ir)
ir->i = (int32_t)(as->mctop - as->mcbot); ir->i = (int32_t)(as->mctop - as->mcbot);
as->mcbot += 8; as->mcbot += 8;
as->mclim = as->mcbot + MCLIM_REDZONE; 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.ofs = (int32_t)mcpofs(as, as->mctop - ir->i);
as->mrm.base = RID_RIP; as->mrm.base = RID_RIP;