summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2013-02-28 17:52:31 +0100
committerMike Pall <mike>2013-02-28 17:52:31 +0100
commit78c97bc5a1529b0e21d417011ddb956c08a4643e (patch)
tree97ebe6504a2b9cafe6839945df5f4fb927398641
parent3e286c1e72651f91a2f4ca5b1fa2f366ac4cd0fa (diff)
downloadluajit-78c97bc5a1529b0e21d417011ddb956c08a4643e.tar.gz
luajit-78c97bc5a1529b0e21d417011ddb956c08a4643e.tar.bz2
luajit-78c97bc5a1529b0e21d417011ddb956c08a4643e.zip
MIPS: Fix cache flush/sync for JIT-compiled code jump area.
-rw-r--r--src/lj_asm_mips.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_asm_mips.h b/src/lj_asm_mips.h
index cd283b88..e80f7582 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;