mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
Windows/ARM64: Fix typo in exception unwinding.
Thanks to Peter Cawley. #593
This commit is contained in:
parent
9e0437240f
commit
8af63f9920
@ -362,7 +362,7 @@ void emit_peobj(BuildCtx *ctx)
|
|||||||
#define CSAVE_FREGS(r1,r2,o1) do { \
|
#define CSAVE_FREGS(r1,r2,o1) do { \
|
||||||
int r, o; for (r = r1, o = o1; r <= r2; r += 2, o -= 16) CSAVE_FREGP(r, o); \
|
int r, o; for (r = r1, o = o1; r <= r2; r += 2, o -= 16) CSAVE_FREGP(r, o); \
|
||||||
} while (0)
|
} while (0)
|
||||||
#define CSAVE_REG(r,o) CBE16(0xd000 | (((r) - 19) << 6) | (~(o) >> 3))
|
#define CSAVE_REG(r,o) CBE16(0xd000 | (((r) - 19) << 6) | ((o) >> 3))
|
||||||
#define CSAVE_REGX(r,o) CBE16(0xd400 | (((r) - 19) << 5) | (~(o) >> 3))
|
#define CSAVE_REGX(r,o) CBE16(0xd400 | (((r) - 19) << 5) | (~(o) >> 3))
|
||||||
#define CADD_FP(s) CBE16(0xe200 | ((s) >> 3)) /* s < 8*256 */
|
#define CADD_FP(s) CBE16(0xe200 | ((s) >> 3)) /* s < 8*256 */
|
||||||
#define CODE_NOP 0xe3
|
#define CODE_NOP 0xe3
|
||||||
|
Loading…
Reference in New Issue
Block a user