diff options
author | Mike Pall <mike> | 2013-02-23 02:17:50 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2013-02-23 02:17:50 +0100 |
commit | 60e380fd936ef45b57e89d8df23ab16325f29e9b (patch) | |
tree | e4b60a535833ff6415e252ad228b965e9656a4a2 /src/vm_ppc.dasc | |
parent | 73ef845fcaf65937ad63e9cf6b681cb3e61f4504 (diff) | |
download | luajit-60e380fd936ef45b57e89d8df23ab16325f29e9b.tar.gz luajit-60e380fd936ef45b57e89d8df23ab16325f29e9b.tar.bz2 luajit-60e380fd936ef45b57e89d8df23ab16325f29e9b.zip |
Replace table.getn/foreach/foreachi with bytecode builtins.
Diffstat (limited to 'src/vm_ppc.dasc')
-rw-r--r-- | src/vm_ppc.dasc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/vm_ppc.dasc b/src/vm_ppc.dasc index d76e3a7b..bff50c59 100644 --- a/src/vm_ppc.dasc +++ b/src/vm_ppc.dasc | |||
@@ -2281,14 +2281,6 @@ static void build_subroutines(BuildCtx *ctx) | |||
2281 | |ffstring_case string_lower, 65 | 2281 | |ffstring_case string_lower, 65 |
2282 | |ffstring_case string_upper, 97 | 2282 | |ffstring_case string_upper, 97 |
2283 | | | 2283 | | |
2284 | |//-- Table library ------------------------------------------------------ | ||
2285 | | | ||
2286 | |.ffunc_1 table_getn | ||
2287 | | checktab CARG3; bne ->fff_fallback | ||
2288 | | bl extern lj_tab_len // (GCtab *t) | ||
2289 | | // Returns uint32_t (but less than 2^31). | ||
2290 | | b ->fff_resi | ||
2291 | | | ||
2292 | |//-- Bit library -------------------------------------------------------- | 2284 | |//-- Bit library -------------------------------------------------------- |
2293 | | | 2285 | | |
2294 | |.macro .ffunc_bit, name | 2286 | |.macro .ffunc_bit, name |