aboutsummaryrefslogtreecommitdiff
path: root/lfunc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lfunc.c')
-rw-r--r--lfunc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lfunc.c b/lfunc.c
index a2a28457..449bfd9a 100644
--- a/lfunc.c
+++ b/lfunc.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lfunc.c,v 1.71 2003/11/19 19:41:30 roberto Exp roberto $ 2** $Id: lfunc.c,v 1.72 2003/11/24 18:50:36 roberto Exp roberto $
3** Auxiliary functions to manipulate prototypes and closures 3** Auxiliary functions to manipulate prototypes and closures
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -71,7 +71,6 @@ void luaF_close (lua_State *L, StkId level) {
71 setobj(&uv->value, uv->v); /* save current value (write barrier) */ 71 setobj(&uv->value, uv->v); /* save current value (write barrier) */
72 uv->v = &uv->value; /* now current value lives here */ 72 uv->v = &uv->value; /* now current value lives here */
73 L->openupval = uv->next; /* remove from `open' list */ 73 L->openupval = uv->next; /* remove from `open' list */
74 resetbit(uv->marked, FIXEDBIT); /* closed upvalues can be collected */
75 luaC_link(L, valtogco(uv), LUA_TUPVAL); 74 luaC_link(L, valtogco(uv), LUA_TUPVAL);
76 } 75 }
77} 76}