aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lfunc.js2
-rw-r--r--src/lstate.js3
2 files changed, 0 insertions, 5 deletions
diff --git a/src/lfunc.js b/src/lfunc.js
index 69c7581..e038cc0 100644
--- a/src/lfunc.js
+++ b/src/lfunc.js
@@ -82,8 +82,6 @@ const findupval = function(L, level) {
uv.v = level;
- // Thread with upvalue list business ? lfunc.c:75
-
return uv;
};
diff --git a/src/lstate.js b/src/lstate.js
index d389419..51688e0 100644
--- a/src/lstate.js
+++ b/src/lstate.js
@@ -54,7 +54,6 @@ class lua_State {
this.openupval = null;
this.status = TS.LUA_OK;
this.next = null;
- this.twups = [this];
this.errorJmp = null;
this.nny = 1;
this.errfunc = 0;
@@ -71,7 +70,6 @@ class global_State {
this.l_registry = new lobject.TValue(CT.LUA_TNIL, null);
this.panic = null;
this.version = null;
- this.twups = [];
this.mt = new Array(LUA_NUMTAGS);
}
@@ -131,7 +129,6 @@ const preinit_thread = function(L, g) {
L.stack = [];
L.ci = null;
L.nci = 0;
- L.twups = [L]; /* thread has no upvalues */
L.errorJmp = null;
L.nCcalls = 0;
L.hook = null;