From: Mike Pall Date: Thu, 28 Feb 2013 16:51:16 +0000 (+0100) Subject: ARM: Fix cache flush/sync for exit stubs of JIT-compiled code. X-Git-Tag: v2.0.2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e286c1e72651f91a2f4ca5b1fa2f366ac4cd0fa;p=thirdparty%2FLuaJIT.git ARM: Fix cache flush/sync for exit stubs of JIT-compiled code. --- 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) *mxp++ = group*EXITSTUBS_PER_GROUP; for (i = 0; i < EXITSTUBS_PER_GROUP; i++) *mxp++ = ARMI_B|((-6-i)&0x00ffffffu); + lj_mcode_sync(as->mcbot, mxp); lj_mcode_commitbot(as->J, mxp); as->mcbot = mxp; as->mclim = as->mcbot + MCLIM_REDZONE;