mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 15:14:08 +00:00
ARM64: Fix pcall() error case.
Reported by Alex Orlenko.
This commit is contained in:
parent
bfcb74ed36
commit
b4b2dce9fc
@ -1164,9 +1164,10 @@ static void build_subroutines(BuildCtx *ctx)
|
||||
|//-- Base library: catch errors ----------------------------------------
|
||||
|
|
||||
|.ffunc pcall
|
||||
| cmp NARGS8:RC, #8
|
||||
| ldrb TMP0w, GL->hookmask
|
||||
| subs NARGS8:RC, NARGS8:RC, #8
|
||||
| blo ->fff_fallback
|
||||
| sub NARGS8:RC, NARGS8:RC, #8
|
||||
| mov RB, BASE
|
||||
| add BASE, BASE, #16
|
||||
| ubfx TMP0w, TMP0w, #HOOK_ACTIVE_SHIFT, #1
|
||||
|
Loading…
Reference in New Issue
Block a user