summaryrefslogtreecommitdiff
path: root/src/vm_arm.dasc
diff options
context:
space:
mode:
authorMike Pall <mike>2013-04-26 18:40:39 +0200
committerMike Pall <mike>2013-04-26 18:40:39 +0200
commitf9421f2b9f0959bc80eff064a0f13970c4e35cc1 (patch)
tree68e44457ede555d214cab3532386b1fa85736184 /src/vm_arm.dasc
parent47fa9a8d8ff7123e160abfc18c88589bbb7f4b58 (diff)
downloadluajit-f9421f2b9f0959bc80eff064a0f13970c4e35cc1.tar.gz
luajit-f9421f2b9f0959bc80eff064a0f13970c4e35cc1.tar.bz2
luajit-f9421f2b9f0959bc80eff064a0f13970c4e35cc1.zip
Replace string.len with bytecode builtin.
Diffstat (limited to 'src/vm_arm.dasc')
-rw-r--r--src/vm_arm.dasc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vm_arm.dasc b/src/vm_arm.dasc
index 5a15c409..5c149bc4 100644
--- a/src/vm_arm.dasc
+++ b/src/vm_arm.dasc
@@ -1706,12 +1706,6 @@ static void build_subroutines(BuildCtx *ctx)
1706 | 1706 |
1707 |//-- String library ----------------------------------------------------- 1707 |//-- String library -----------------------------------------------------
1708 | 1708 |
1709 |.ffunc_1 string_len
1710 | checkstr CARG2, ->fff_fallback
1711 | ldr CARG1, STR:CARG1->len
1712 | mvn CARG2, #~LJ_TISNUM
1713 | b ->fff_restv
1714 |
1715 |.ffunc string_byte // Only handle the 1-arg case here. 1709 |.ffunc string_byte // Only handle the 1-arg case here.
1716 | ldrd CARG12, [BASE] 1710 | ldrd CARG12, [BASE]
1717 | ldr PC, [BASE, FRAME_PC] 1711 | ldr PC, [BASE, FRAME_PC]