summaryrefslogtreecommitdiff
path: root/src/lfunc.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-02 15:00:04 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-02 15:23:17 +1000
commitd9865ac5163f467268dcd894320bb283e053badb (patch)
tree125b276b1cd7b2cb275ade22c36b5d0f15c93ade /src/lfunc.js
parentade2bbc6099b40fcde7b5a99ce24bd21913f117c (diff)
downloadfengari-d9865ac5163f467268dcd894320bb283e053badb.tar.gz
fengari-d9865ac5163f467268dcd894320bb283e053badb.tar.bz2
fengari-d9865ac5163f467268dcd894320bb283e053badb.zip
Use lfunc from lundump.js
Diffstat (limited to 'src/lfunc.js')
-rw-r--r--src/lfunc.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lfunc.js b/src/lfunc.js
index e12816d..69c7581 100644
--- a/src/lfunc.js
+++ b/src/lfunc.js
@@ -57,7 +57,6 @@ class UpVal {
const luaF_newLclosure = function(L, n) {
let c = new lobject.LClosure(L, n);
- while (n--) c.upvals[n] = null;
return c;
};