summaryrefslogtreecommitdiff
path: root/src/lj_asm_x86.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_x86.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_x86.h')
-rw-r--r--src/lj_asm_x86.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h
index c1f0fc15..1170b663 100644
--- a/src/lj_asm_x86.h
+++ b/src/lj_asm_x86.h
@@ -2745,7 +2745,7 @@ void lj_asm_patchexit(jit_State *J, GCtrace *T, ExitNo exitno, MCode *target)
2745 p += 5; 2745 p += 5;
2746 } 2746 }
2747 } 2747 }
2748 lj_mcode_sync(T->mcode, T->mcode + T->szmcode);
2748 lj_mcode_patch(J, mcarea, 1); 2749 lj_mcode_patch(J, mcarea, 1);
2749 VG_INVALIDATE(T->mcode, T->szmcode);
2750} 2750}
2751 2751