aboutsummaryrefslogtreecommitdiff
path: root/lgc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lgc.c')
-rw-r--r--lgc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lgc.c b/lgc.c
index 55a51870..de3f2a21 100644
--- a/lgc.c
+++ b/lgc.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.c,v 2.213 2016/10/19 12:31:42 roberto Exp roberto $ 2** $Id: lgc.c,v 2.214 2016/11/07 12:38:35 roberto Exp roberto $
3** Garbage Collector 3** Garbage Collector
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -539,7 +539,7 @@ static lu_mem traversethread (global_State *g, lua_State *th) {
539 StkId lim = th->stack + th->stacksize; /* real end of stack */ 539 StkId lim = th->stack + th->stacksize; /* real end of stack */
540 for (; o < lim; o++) /* clear not-marked stack slice */ 540 for (; o < lim; o++) /* clear not-marked stack slice */
541 setnilvalue(o); 541 setnilvalue(o);
542 /* 'remarkupvals' may have removed thread from 'twups' list */ 542 /* 'remarkupvals' may have removed thread from 'twups' list */
543 if (!isintwups(th) && th->openupval != NULL) { 543 if (!isintwups(th) && th->openupval != NULL) {
544 th->twups = g->twups; /* link it back to the list */ 544 th->twups = g->twups; /* link it back to the list */
545 g->twups = th; 545 g->twups = th;