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