summaryrefslogtreecommitdiff
path: root/src/lj_asm_arm.h
diff options
context:
space:
mode:
authorMike Pall <mike>2011-12-12 22:49:19 +0100
committerMike Pall <mike>2011-12-12 23:10:46 +0100
commit10474987bd58a2183d848cc7ef40aa2d4e9125ba (patch)
treedce63a72e48b85750e06430cc838f6e7ba3d344b /src/lj_asm_arm.h
parent2d8f3d75dfae1839224cf0c726eef9cb3b77eaa3 (diff)
downloadluajit-10474987bd58a2183d848cc7ef40aa2d4e9125ba.tar.gz
luajit-10474987bd58a2183d848cc7ef40aa2d4e9125ba.tar.bz2
luajit-10474987bd58a2183d848cc7ef40aa2d4e9125ba.zip
Move helper for syncing data/instruction cache to lj_mcode.c.
Sync caches after dynamic code generation for FFI callbacks.
Diffstat (limited to 'src/lj_asm_arm.h')
-rw-r--r--src/lj_asm_arm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_arm.h b/src/lj_asm_arm.h
index 24b49e69..087fc0fb 100644
--- a/src/lj_asm_arm.h
+++ b/src/lj_asm_arm.h
@@ -1779,7 +1779,7 @@ void lj_asm_patchexit(jit_State *J, GCtrace *T, ExitNo exitno, MCode *target)
1779 } 1779 }
1780 } 1780 }
1781 lua_assert(cstart != NULL); 1781 lua_assert(cstart != NULL);
1782 asm_cache_flush(cstart, cend); 1782 lj_mcode_sync(cstart, cend);
1783 lj_mcode_patch(J, mcarea, 1); 1783 lj_mcode_patch(J, mcarea, 1);
1784} 1784}
1785 1785