mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 07:34:07 +00:00
ARM: Add table.getn() fast function.
This commit is contained in:
parent
9e18260fb4
commit
16e0ecaf54
@ -1145,7 +1145,11 @@ static void build_subroutines(BuildCtx *ctx)
|
|||||||
|//-- Table library ------------------------------------------------------
|
|//-- Table library ------------------------------------------------------
|
||||||
|
|
|
|
||||||
|.ffunc_1 table_getn
|
|.ffunc_1 table_getn
|
||||||
| NYI
|
| checktab CARG2, ->fff_fallback
|
||||||
|
| bl extern lj_tab_len // (GCtab *t)
|
||||||
|
| // Returns uint32_t (but less than 2^31).
|
||||||
|
| mvn CARG2, #~LJ_TISNUM
|
||||||
|
| b ->fff_restv
|
||||||
|
|
|
|
||||||
|//-- Bit library --------------------------------------------------------
|
|//-- Bit library --------------------------------------------------------
|
||||||
|
|
|
|
||||||
|
Loading…
Reference in New Issue
Block a user