summaryrefslogtreecommitdiff
path: root/src/lapi.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-06-18 20:02:28 +1000
committerdaurnimator <quae@daurnimator.com>2017-06-18 20:02:28 +1000
commitfb7c8c189b7a864f5787a5ecfd3272fe0e99b0ad (patch)
tree3d9e303fdb1957e38f365b89b2437c2e3b7e497c /src/lapi.js
parent2637c343c1f0dbd79d5f593ef86272ba83d454c8 (diff)
downloadfengari-fb7c8c189b7a864f5787a5ecfd3272fe0e99b0ad.tar.gz
fengari-fb7c8c189b7a864f5787a5ecfd3272fe0e99b0ad.tar.bz2
fengari-fb7c8c189b7a864f5787a5ecfd3272fe0e99b0ad.zip
src/lvm.js: Rename gettable to luaV_gettable
Diffstat (limited to 'src/lapi.js')
-rw-r--r--src/lapi.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lapi.js b/src/lapi.js
index 4b80d20..a25dd16 100644
--- a/src/lapi.js
+++ b/src/lapi.js
@@ -468,7 +468,7 @@ const auxgetstr = function(L, t, k) {
let str = lstring.luaS_new(L, k);
lobject.pushsvalue2s(L, str);
assert(L.top <= L.ci.top, "stack overflow");
- lvm.gettable(L, t, L.stack[L.top - 1], L.top - 1);
+ lvm.luaV_gettable(L, t, L.stack[L.top - 1], L.top - 1);
return L.stack[L.top - 1].ttnov();
};
@@ -611,7 +611,7 @@ const lua_getuservalue = function(L, idx) {
const lua_gettable = function(L, idx) {
let t = index2addr(L, idx);
- lvm.gettable(L, t, L.stack[L.top - 1], L.top - 1);
+ lvm.luaV_gettable(L, t, L.stack[L.top - 1], L.top - 1);
return L.stack[L.top - 1].ttnov();
};
@@ -625,7 +625,7 @@ const lua_geti = function(L, idx, n) {
L.stack[L.top] = new TValue(CT.LUA_TNUMINT, n);
L.top++;
assert(L.top <= L.ci.top, "stack overflow");
- lvm.gettable(L, t, L.stack[L.top - 1], L.top - 1);
+ lvm.luaV_gettable(L, t, L.stack[L.top - 1], L.top - 1);
return L.stack[L.top - 1].ttnov();
};