summaryrefslogtreecommitdiff
path: root/src/lj_frame.h
diff options
context:
space:
mode:
authorMike Pall <mike>2021-09-20 22:37:07 +0200
committerMike Pall <mike>2021-09-20 22:37:07 +0200
commit421c4c798791d27b7f967df39891c4e4fa1d107c (patch)
tree2048dc80df764a3952fb5024ec687bd8d77edf3c /src/lj_frame.h
parent28440544ba7fc494ecc822c37750991a101e41cd (diff)
downloadluajit-421c4c798791d27b7f967df39891c4e4fa1d107c.tar.gz
luajit-421c4c798791d27b7f967df39891c4e4fa1d107c.tar.bz2
luajit-421c4c798791d27b7f967df39891c4e4fa1d107c.zip
ARM64: Reorder interpreter stack frame and fix unwinding.
Reported by Yichun Zhang. Fixes #722. May help towards fixing #698, too.
Diffstat (limited to 'src/lj_frame.h')
-rw-r--r--src/lj_frame.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lj_frame.h b/src/lj_frame.h
index f67a2332..b6146454 100644
--- a/src/lj_frame.h
+++ b/src/lj_frame.h
@@ -192,12 +192,12 @@ enum { LJ_CONT_TAILCALL, LJ_CONT_FFI_CALLBACK }; /* Special continuations. */
192#endif 192#endif
193#define CFRAME_SHIFT_MULTRES 3 193#define CFRAME_SHIFT_MULTRES 3
194#elif LJ_TARGET_ARM64 194#elif LJ_TARGET_ARM64
195#define CFRAME_OFS_ERRF 196 195#define CFRAME_OFS_ERRF 36
196#define CFRAME_OFS_NRES 200 196#define CFRAME_OFS_NRES 40
197#define CFRAME_OFS_PREV 160 197#define CFRAME_OFS_PREV 0
198#define CFRAME_OFS_L 176 198#define CFRAME_OFS_L 16
199#define CFRAME_OFS_PC 168 199#define CFRAME_OFS_PC 8
200#define CFRAME_OFS_MULTRES 192 200#define CFRAME_OFS_MULTRES 32
201#define CFRAME_SIZE 208 201#define CFRAME_SIZE 208
202#define CFRAME_SHIFT_MULTRES 3 202#define CFRAME_SHIFT_MULTRES 3
203#elif LJ_TARGET_PPC 203#elif LJ_TARGET_PPC