aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lvm.c b/lvm.c
index e9b1dcdd..1252ecbf 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1635,10 +1635,8 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
1635 b = cast_int(L->top - ra); 1635 b = cast_int(L->top - ra);
1636 savepc(ci); /* several calls here can raise errors */ 1636 savepc(ci); /* several calls here can raise errors */
1637 if (TESTARG_k(i)) { 1637 if (TESTARG_k(i)) {
1638 /* close upvalues from current call; the compiler ensures 1638 luaF_closeupval(L, base); /* close upvalues from current call */
1639 that there are no to-be-closed variables here, so this 1639 lua_assert(L->tbclist < base); /* no pending tbc variables */
1640 call cannot change the stack */
1641 luaF_close(L, base, NOCLOSINGMETH, 0);
1642 lua_assert(base == ci->func + 1); 1640 lua_assert(base == ci->func + 1);
1643 } 1641 }
1644 while (!ttisfunction(s2v(ra))) { /* not a function? */ 1642 while (!ttisfunction(s2v(ra))) { /* not a function? */