]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
ARM: Fix string.sub() argument checks.
authorMike Pall <mike>
Tue, 31 May 2011 19:34:08 +0000 (21:34 +0200)
committerMike Pall <mike>
Tue, 31 May 2011 19:35:03 +0000 (21:35 +0200)
src/buildvm_arm.dasc
src/buildvm_arm.h

index 495181a1028034e5a15e7e698a3dba5a6e5d6956..eed836fa86a77fbd4592181a896c9d857656da62 100644 (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
index f3b38d1d9779b5f06f29c1c3e16c3a3482b3fd5b..3b4803263c53732389b79e5379addac27f75d515 100644 (file)
@@ -2182,7 +2182,7 @@ static const unsigned int build_actionlist[5614] = {
 0x1a000000,
 0x00050044,
 0x0006000b,
-0xe5992008,
+0xe1c920d8,
 0xe3710000,
 0x000a0000,
 0x05101000,