aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Pall <mike>2011-04-10 16:59:00 +0200
committerMike Pall <mike>2011-04-10 16:59:00 +0200
commitda1ef8c3b06c64573faf03633cf70f704413cae1 (patch)
tree54566414c4414e0301dc18e174f458cdc2e06907 /src
parent89022b4c3e75fe06439c7edc8d61e330b6ede59c (diff)
downloadluajit-da1ef8c3b06c64573faf03633cf70f704413cae1.tar.gz
luajit-da1ef8c3b06c64573faf03633cf70f704413cae1.tar.bz2
luajit-da1ef8c3b06c64573faf03633cf70f704413cae1.zip
ARM: Add rawget() fast function.
Diffstat (limited to 'src')
-rw-r--r--src/buildvm_arm.dasc12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/buildvm_arm.dasc b/src/buildvm_arm.dasc
index bf800eab..aefe308d 100644
--- a/src/buildvm_arm.dasc
+++ b/src/buildvm_arm.dasc
@@ -870,7 +870,17 @@ static void build_subroutines(BuildCtx *ctx)
870 | b ->fff_restv 870 | b ->fff_restv
871 | 871 |
872 |.ffunc rawget 872 |.ffunc rawget
873 | NYI 873 | ldrd CARG34, [BASE]
874 | cmp NARGS8:RC, #16
875 | blo ->fff_fallback
876 | mov CARG2, CARG3
877 | checktab CARG4, ->fff_fallback
878 | mov CARG1, L
879 | add CARG3, BASE, #8
880 | bl extern lj_tab_get // (lua_State *L, GCtab *t, cTValue *key)
881 | // Returns cTValue *.
882 | ldrd CARG12, [CRET1]
883 | b ->fff_restv
874 | 884 |
875 |//-- Base library: conversions ------------------------------------------ 885 |//-- Base library: conversions ------------------------------------------
876 | 886 |