aboutsummaryrefslogtreecommitdiff
path: root/src/lj_mcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_mcode.c')
-rw-r--r--src/lj_mcode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_mcode.c b/src/lj_mcode.c
index f0a1f699..77035bf7 100644
--- a/src/lj_mcode.c
+++ b/src/lj_mcode.c
@@ -221,8 +221,8 @@ static void *mcode_alloc(jit_State *J, size_t sz)
221 */ 221 */
222#if LJ_TARGET_MIPS 222#if LJ_TARGET_MIPS
223 /* Use the middle of the 256MB-aligned region. */ 223 /* Use the middle of the 256MB-aligned region. */
224 uintptr_t target = ((uintptr_t)(void *)lj_vm_exit_handler & 0xf0000000u) + 224 uintptr_t target = ((uintptr_t)(void *)lj_vm_exit_handler &
225 0x08000000u; 225 ~(uintptr_t)0x0fffffffu) + 0x08000000u;
226#else 226#else
227 uintptr_t target = (uintptr_t)(void *)lj_vm_exit_handler & ~(uintptr_t)0xffff; 227 uintptr_t target = (uintptr_t)(void *)lj_vm_exit_handler & ~(uintptr_t)0xffff;
228#endif 228#endif