diff options
-rw-r--r-- | src/ldebug.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ldebug.js b/src/ldebug.js index 25af97b..3bd5cf0 100644 --- a/src/ldebug.js +++ b/src/ldebug.js @@ -86,7 +86,7 @@ const upvalname = function(p, uv) { return s; }; -const findvararg = function(ci, n, pos) { +const findvararg = function(ci, n) { let nparams = ci.func.value.p.numparams; if (n >= ci.u.l.base - ci.funcOff - nparams) return null; /* no such vararg */ @@ -509,7 +509,7 @@ const isinstack = function(L, ci, o) { ** with instructions OP_GETTABUP/OP_SETTABUP, which operate directly on ** upvalues.) */ -const getupvalname = function(L, ci, o, name) { +const getupvalname = function(L, ci, o) { let c = ci.func; for (let i = 0; i < c.nupvalues; i++) { if (c.upvals[i].val(L) === o) { |