aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Pall <mike>2011-04-08 02:52:24 +0200
committerMike Pall <mike>2011-04-08 02:52:24 +0200
commit16e0ecaf547c47eb8bf192cf6d606487759f746f (patch)
tree1d96ec424fc80b20044f47fef1dbe52d013761f2 /src
parent9e18260fb403f1dec2f2f86e9fffe6cf9dc96dbf (diff)
downloadluajit-16e0ecaf547c47eb8bf192cf6d606487759f746f.tar.gz
luajit-16e0ecaf547c47eb8bf192cf6d606487759f746f.tar.bz2
luajit-16e0ecaf547c47eb8bf192cf6d606487759f746f.zip
ARM: Add table.getn() fast function.
Diffstat (limited to 'src')
-rw-r--r--src/buildvm_arm.dasc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/buildvm_arm.dasc b/src/buildvm_arm.dasc
index 248b2cfe..14a60fd3 100644
--- a/src/buildvm_arm.dasc
+++ b/src/buildvm_arm.dasc
@@ -1145,7 +1145,11 @@ static void build_subroutines(BuildCtx *ctx)
1145 |//-- Table library ------------------------------------------------------ 1145 |//-- Table library ------------------------------------------------------
1146 | 1146 |
1147 |.ffunc_1 table_getn 1147 |.ffunc_1 table_getn
1148 | NYI 1148 | checktab CARG2, ->fff_fallback
1149 | bl extern lj_tab_len // (GCtab *t)
1150 | // Returns uint32_t (but less than 2^31).
1151 | mvn CARG2, #~LJ_TISNUM
1152 | b ->fff_restv
1149 | 1153 |
1150 |//-- Bit library -------------------------------------------------------- 1154 |//-- Bit library --------------------------------------------------------
1151 | 1155 |