diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ldo.js | 1 | ||||
-rw-r--r-- | src/lstate.js | 3 | ||||
-rw-r--r-- | src/lvm.js | 1 |
3 files changed, 0 insertions, 5 deletions
@@ -114,7 +114,6 @@ const luaD_poscall = function(L, ci, firstResult, nres) { let res = ci.funcOff; L.ci = ci.previous; L.ci.next = null; - L.ciOff--; return moveresults(L, firstResult, res, nres, wanted); }; diff --git a/src/lstate.js b/src/lstate.js index 73fb310..3865ae5 100644 --- a/src/lstate.js +++ b/src/lstate.js @@ -47,7 +47,6 @@ class lua_State { this.base_ci = new CallInfo(); // Will be populated later this.top = 0; this.ci = null; - this.ciOff = null; this.stack = []; this.openupval = null; this.status = TS.LUA_OK; @@ -80,7 +79,6 @@ const luaE_extendCI = function(L) { ci.previous = L.ci; ci.next = null; L.ci = ci; - L.ciOff++; return ci; }; @@ -135,7 +133,6 @@ const preinit_thread = function(L, g) { L.l_G = g; L.stack = null; L.ci = null; - L.nci = 0; L.errorJmp = null; L.nCcalls = 0; L.hook = null; @@ -495,7 +495,6 @@ const luaV_execute = function(L) { oci.callstatus |= lstate.CIST_TAIL; oci.next = null; ci = L.ci = oci; - L.ciOff--; assert(L.top === oci.l_base + L.stack[ofuncOff].value.p.maxstacksize); |