mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
ARM: Misc. fixes for interpreter.
This commit is contained in:
parent
040c8c5737
commit
54e986a51d
@ -538,7 +538,7 @@ static void build_subroutines(BuildCtx *ctx)
|
|||||||
| str TAB:RB, [CARG2]
|
| str TAB:RB, [CARG2]
|
||||||
| str CARG4, [CARG2, #4]
|
| str CARG4, [CARG2, #4]
|
||||||
|2:
|
|2:
|
||||||
| mvn CARG4, #~LJ_TISNUM
|
| mvn CARG4, #~LJ_TSTR
|
||||||
| str STR:RC, TMPDlo
|
| str STR:RC, TMPDlo
|
||||||
| str CARG4, TMPDhi
|
| str CARG4, TMPDhi
|
||||||
| mov CARG3, TMPDp
|
| mov CARG3, TMPDp
|
||||||
@ -1505,6 +1505,7 @@ static void build_subroutines(BuildCtx *ctx)
|
|||||||
| bhi >5 // Need to grow stack.
|
| bhi >5 // Need to grow stack.
|
||||||
| blx CARG3 // (lua_State *L)
|
| blx CARG3 // (lua_State *L)
|
||||||
| // Either throws an error, or recovers and returns -1, 0 or nresults+1.
|
| // Either throws an error, or recovers and returns -1, 0 or nresults+1.
|
||||||
|
| ldr BASE, L->base
|
||||||
| cmp CRET1, #0
|
| cmp CRET1, #0
|
||||||
| lsl RC, CRET1, #3
|
| lsl RC, CRET1, #3
|
||||||
| sub RA, BASE, #8
|
| sub RA, BASE, #8
|
||||||
|
Loading…
Reference in New Issue
Block a user