ARM: Fix string.sub() argument checks.

This commit is contained in:
Mike Pall 2011-05-31 21:34:08 +02:00
parent 03b5c8c935
commit 0764c615fd
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -2182,7 +2182,7 @@ static const unsigned int build_actionlist[5614] = {
0x1a000000,
0x00050044,
0x0006000b,
0xe5992008,
0xe1c920d8,
0xe3710000,
0x000a0000,
0x05101000,