aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Pall <mike>2017-08-28 10:43:37 +0200
committerMike Pall <mike>2017-08-28 10:43:37 +0200
commit6b0824852677cc12570c20a3211fbfe0e4f0ce14 (patch)
treedd2f987d3e9239fcdd1495b530f5b9107c215ab0 /src
parent9634fa98142e846a28f300f65c9420443eb5f023 (diff)
downloadluajit-6b0824852677cc12570c20a3211fbfe0e4f0ce14.tar.gz
luajit-6b0824852677cc12570c20a3211fbfe0e4f0ce14.tar.bz2
luajit-6b0824852677cc12570c20a3211fbfe0e4f0ce14.zip
x64/LJ_GC64: Fix fallback case of asm_fuseloadk64().
Contributed by Peter Cawley.
Diffstat (limited to 'src')
-rw-r--r--src/lj_asm_x86.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h
index 3e189b1d..55c02d24 100644
--- a/src/lj_asm_x86.h
+++ b/src/lj_asm_x86.h
@@ -387,6 +387,7 @@ static Reg asm_fuseloadk64(ASMState *as, IRIns *ir)
387 ir->i = (int32_t)(as->mctop - as->mcbot); 387 ir->i = (int32_t)(as->mctop - as->mcbot);
388 as->mcbot += 8; 388 as->mcbot += 8;
389 as->mclim = as->mcbot + MCLIM_REDZONE; 389 as->mclim = as->mcbot + MCLIM_REDZONE;
390 lj_mcode_commitbot(as->J, as->mcbot);
390 } 391 }
391 as->mrm.ofs = (int32_t)mcpofs(as, as->mctop - ir->i); 392 as->mrm.ofs = (int32_t)mcpofs(as, as->mctop - ir->i);
392 as->mrm.base = RID_RIP; 393 as->mrm.base = RID_RIP;