aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Pall <mike>2010-10-05 01:47:39 +0200
committerMike Pall <mike>2010-10-05 01:47:39 +0200
commit14cd10e32270ac04f53bcb26b11f4645f18519c3 (patch)
tree299fcd7ffe32599aba7cf972bda5d5e87e39ebbc /src
parent2f5f6290e7e7cde6e9ce5636acfbe33345c59bb5 (diff)
downloadluajit-14cd10e32270ac04f53bcb26b11f4645f18519c3.tar.gz
luajit-14cd10e32270ac04f53bcb26b11f4645f18519c3.tar.bz2
luajit-14cd10e32270ac04f53bcb26b11f4645f18519c3.zip
PPC: Add table.getn() fast function.
Diffstat (limited to 'src')
-rw-r--r--src/buildvm_ppc.dasc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/buildvm_ppc.dasc b/src/buildvm_ppc.dasc
index f96a5601..5bbded29 100644
--- a/src/buildvm_ppc.dasc
+++ b/src/buildvm_ppc.dasc
@@ -1322,7 +1322,12 @@ static void build_subroutines(BuildCtx *ctx)
1322 |//-- Table library ------------------------------------------------------ 1322 |//-- Table library ------------------------------------------------------
1323 | 1323 |
1324 |.ffunc_1 table_getn 1324 |.ffunc_1 table_getn
1325 | NYI 1325 | checktab CARG1
1326 | checkfail ->fff_fallback
1327 | bl extern lj_tab_len // (GCtab *t)
1328 | // Returns uint32_t (but less than 2^31).
1329 | efdcfsi CRET1, CRET1
1330 | b ->fff_restv
1326 | 1331 |
1327 |//-- Bit library -------------------------------------------------------- 1332 |//-- Bit library --------------------------------------------------------
1328 | 1333 |