summaryrefslogtreecommitdiff
path: root/src/vm_ppc.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_ppc.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_ppc.dasc')
-rw-r--r--src/vm_ppc.dasc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/vm_ppc.dasc b/src/vm_ppc.dasc
index ac399900..19211825 100644
--- a/src/vm_ppc.dasc
+++ b/src/vm_ppc.dasc
@@ -2045,11 +2045,6 @@ static void build_subroutines(BuildCtx *ctx)
2045 | 2045 |
2046 |//-- String library ----------------------------------------------------- 2046 |//-- String library -----------------------------------------------------
2047 | 2047 |
2048 |.ffunc_1 string_len
2049 | checkstr CARG3; bne ->fff_fallback
2050 | lwz CRET1, STR:CARG1->len
2051 | b ->fff_resi
2052 |
2053 |.ffunc string_byte // Only handle the 1-arg case here. 2048 |.ffunc string_byte // Only handle the 1-arg case here.
2054 | cmplwi NARGS8:RC, 8 2049 | cmplwi NARGS8:RC, 8
2055 | lwz CARG3, 0(BASE) 2050 | lwz CARG3, 0(BASE)