summaryrefslogtreecommitdiff
path: root/src/lvm.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lvm.js')
-rw-r--r--src/lvm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lvm.js b/src/lvm.js
index 9145b88..ef5d370 100644
--- a/src/lvm.js
+++ b/src/lvm.js
@@ -666,7 +666,7 @@ const luaV_execute = function(L) {
for (let i = 0; i < nup; i++) {
if (uv[i].instack)
- ncl.upvals[i] = lfunc.findupval(L, base + uv[i].idx);
+ ncl.upvals[i] = lfunc.luaF_findupval(L, base + uv[i].idx);
else
ncl.upvals[i] = cl.upvals[uv[i].idx];
ncl.upvals[i].refcount++;