diff options
Diffstat (limited to 'lfunc.c')
-rw-r--r-- | lfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -235,7 +235,7 @@ int luaF_close (lua_State *L, StkId level, int status) { | |||
235 | setobj(L, slot, uv->v); /* move value to upvalue slot */ | 235 | setobj(L, slot, uv->v); /* move value to upvalue slot */ |
236 | uv->v = slot; /* now current value lives here */ | 236 | uv->v = slot; /* now current value lives here */ |
237 | if (!iswhite(uv)) { /* neither white nor dead? */ | 237 | if (!iswhite(uv)) { /* neither white nor dead? */ |
238 | gray2black(uv); /* closed upvalues cannot be gray */ | 238 | nw2black(uv); /* closed upvalues cannot be gray */ |
239 | luaC_barrier(L, uv, slot); | 239 | luaC_barrier(L, uv, slot); |
240 | } | 240 | } |
241 | } | 241 | } |