summaryrefslogtreecommitdiff
path: root/src/lj_asm.c
diff options
context:
space:
mode:
authorMike Pall <mike>2017-03-30 11:17:15 +0200
committerMike Pall <mike>2017-03-30 11:30:01 +0200
commit3143b218946395834f0bfef741061ac6ef3f5b56 (patch)
tree07721c6a94616eda13799a6027b00f3e3fc999a4 /src/lj_asm.c
parent78f5f1cef19502289604299e4e6d00e14411f764 (diff)
downloadluajit-3143b218946395834f0bfef741061ac6ef3f5b56.tar.gz
luajit-3143b218946395834f0bfef741061ac6ef3f5b56.tar.bz2
luajit-3143b218946395834f0bfef741061ac6ef3f5b56.zip
ARM64: Add big-endian support.
Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com. Sponsored by Cisco Systems, Inc.
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r--src/lj_asm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c
index 7c09dd9f..c2cf5a95 100644
--- a/src/lj_asm.c
+++ b/src/lj_asm.c
@@ -2393,6 +2393,9 @@ void lj_asm_trace(jit_State *J, GCtrace *T)
2393 if (!as->loopref) 2393 if (!as->loopref)
2394 asm_tail_fixup(as, T->link); /* Note: this may change as->mctop! */ 2394 asm_tail_fixup(as, T->link); /* Note: this may change as->mctop! */
2395 T->szmcode = (MSize)((char *)as->mctop - (char *)as->mcp); 2395 T->szmcode = (MSize)((char *)as->mctop - (char *)as->mcp);
2396#if LJ_TARGET_MCODE_FIXUP
2397 asm_mcode_fixup(T->mcode, T->szmcode);
2398#endif
2396 lj_mcode_sync(T->mcode, origtop); 2399 lj_mcode_sync(T->mcode, origtop);
2397} 2400}
2398 2401