1. minux
  2. luajit-2.0

Commits

Mike Pall  committed 3e286c1

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

  • Participants
  • Parent commits cea899b
  • Branches master

Comments (0)

Files changed (1)

File src/lj_asm_arm.h

View file
  • Ignore whitespace
   *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;