mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-04-20 05:53:26 +00:00
ARM: Fix string.sub() argument checks.
This commit is contained in:
parent
03b5c8c935
commit
0764c615fd
@ -1541,7 +1541,7 @@ static void build_subroutines(BuildCtx *ctx)
|
||||
| mov RB, CARG3
|
||||
| bne ->fff_fallback
|
||||
|1:
|
||||
| ldr CARG34, [BASE, #8]
|
||||
| ldrd CARG34, [BASE, #8]
|
||||
| checktp CARG2, LJ_TSTR
|
||||
| ldreq CARG2, STR:CARG1->len
|
||||
| checktpeq CARG4, LJ_TISNUM
|
||||
|
@ -2182,7 +2182,7 @@ static const unsigned int build_actionlist[5614] = {
|
||||
0x1a000000,
|
||||
0x00050044,
|
||||
0x0006000b,
|
||||
0xe5992008,
|
||||
0xe1c920d8,
|
||||
0xe3710000,
|
||||
0x000a0000,
|
||||
0x05101000,
|
||||
|
Loading…
Reference in New Issue
Block a user