ARM: Fix cache flush/sync for exit stubs of JIT-compiled code.

master
Mike Pall 2013-02-28 17:51:16 +01:00
parent cea899b61a
commit 3e286c1e72
1 changed files with 1 additions and 0 deletions

View File

@ -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;