aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2013-02-28 17:53:45 +0100
committerMike Pall <mike>2013-02-28 17:53:45 +0100
commitb65196b7fd3b1f67d54c7d48f522d7d682d0c545 (patch)
treed2ba5980a0118d0bd7988c3ae974adfb21fa11be
parent9ec869b3620e9508b2c17ad67285c5f54ab12e88 (diff)
parent78c97bc5a1529b0e21d417011ddb956c08a4643e (diff)
downloadluajit-b65196b7fd3b1f67d54c7d48f522d7d682d0c545.tar.gz
luajit-b65196b7fd3b1f67d54c7d48f522d7d682d0c545.tar.bz2
luajit-b65196b7fd3b1f67d54c7d48f522d7d682d0c545.zip
Merge branch 'master' into v2.1
Diffstat (limited to '')
-rw-r--r--src/lj_asm_arm.h1
-rw-r--r--src/lj_asm_mips.h1
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;