diff options
-rw-r--r-- | src/lj_asm_arm.h | 1 | ||||
-rw-r--r-- | src/lj_asm_mips.h | 1 |
2 files changed, 2 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; |
diff --git a/src/lj_asm_mips.h b/src/lj_asm_mips.h index dcc74ce9..b41e3dfe 100644 --- a/src/lj_asm_mips.h +++ b/src/lj_asm_mips.h | |||
@@ -71,6 +71,7 @@ static void asm_sparejump_setup(ASMState *as) | |||
71 | memset(mxp+2, 0, MIPS_SPAREJUMP*8); | 71 | memset(mxp+2, 0, MIPS_SPAREJUMP*8); |
72 | mxp += MIPS_SPAREJUMP*2; | 72 | mxp += MIPS_SPAREJUMP*2; |
73 | lua_assert(mxp < as->mctop); | 73 | lua_assert(mxp < as->mctop); |
74 | lj_mcode_sync(as->mcbot, mxp); | ||
74 | lj_mcode_commitbot(as->J, mxp); | 75 | lj_mcode_commitbot(as->J, mxp); |
75 | as->mcbot = mxp; | 76 | as->mcbot = mxp; |
76 | as->mclim = as->mcbot + MCLIM_REDZONE; | 77 | as->mclim = as->mcbot + MCLIM_REDZONE; |