aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2013-02-28 17:51:16 +0100
committerMike Pall <mike>2013-02-28 17:51:16 +0100
commit3e286c1e72651f91a2f4ca5b1fa2f366ac4cd0fa (patch)
tree8fa1e919c90715724e31a4bd51dec480b0343347
parentcea899b61a872151b1e5b359b821fb31372d64e0 (diff)
downloadluajit-3e286c1e72651f91a2f4ca5b1fa2f366ac4cd0fa.tar.gz
luajit-3e286c1e72651f91a2f4ca5b1fa2f366ac4cd0fa.tar.bz2
luajit-3e286c1e72651f91a2f4ca5b1fa2f366ac4cd0fa.zip
ARM: Fix cache flush/sync for exit stubs of JIT-compiled code.
-rw-r--r--src/lj_asm_arm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_asm_arm.h b/src/lj_asm_arm.h
index afb1054e..196f797e 100644
--- a/src/lj_asm_arm.h
+++ b/src/lj_asm_arm.h
@@ -91,6 +91,7 @@ static MCode *asm_exitstub_gen(ASMState *as, ExitNo group)
91 *mxp++ = group*EXITSTUBS_PER_GROUP; 91 *mxp++ = group*EXITSTUBS_PER_GROUP;
92 for (i = 0; i < EXITSTUBS_PER_GROUP; i++) 92 for (i = 0; i < EXITSTUBS_PER_GROUP; i++)
93 *mxp++ = ARMI_B|((-6-i)&0x00ffffffu); 93 *mxp++ = ARMI_B|((-6-i)&0x00ffffffu);
94 lj_mcode_sync(as->mcbot, mxp);
94 lj_mcode_commitbot(as->J, mxp); 95 lj_mcode_commitbot(as->J, mxp);
95 as->mcbot = mxp; 96 as->mcbot = mxp;
96 as->mclim = as->mcbot + MCLIM_REDZONE; 97 as->mclim = as->mcbot + MCLIM_REDZONE;