aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-04 14:47:56 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-04 14:47:56 +1000
commit1b8e69bec6a9b3020a85600f5f0d64e7683c778d (patch)
tree9506d083efefbd22752d84e67e7c6b3b0a9694a3
parent6c14a429890ee4980485b6975cc08a03d91acfe0 (diff)
downloadfengari-1b8e69bec6a9b3020a85600f5f0d64e7683c778d.tar.gz
fengari-1b8e69bec6a9b3020a85600f5f0d64e7683c778d.tar.bz2
fengari-1b8e69bec6a9b3020a85600f5f0d64e7683c778d.zip
src/ldebug.js: Remove unused argument
-rw-r--r--src/ldebug.js4
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) {