diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-12 15:35:12 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-12 16:55:00 +1000 |
commit | ef9caa4af6a55e12a3a7d58fde7159965b7bf749 (patch) | |
tree | 15a1283e12505e40f3941785cbf97a3e74c49b11 /src | |
parent | 6e0acf1e915dc1c12363884874ab5d3c596ca486 (diff) | |
download | fengari-ef9caa4af6a55e12a3a7d58fde7159965b7bf749.tar.gz fengari-ef9caa4af6a55e12a3a7d58fde7159965b7bf749.tar.bz2 fengari-ef9caa4af6a55e12a3a7d58fde7159965b7bf749.zip |
Remove unused L.ciOff/L.nci fields
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); |