summaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lvm.c b/lvm.c
index 49115c4b..ec5bf62b 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 2.218 2014/07/17 12:30:53 roberto Exp roberto $ 2** $Id: lvm.c,v 2.219 2014/07/18 13:36:14 roberto Exp roberto $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -549,7 +549,7 @@ static void pushclosure (lua_State *L, Proto *p, UpVal **encup, StkId base,
549 ncl->upvals[i]->refcount++; 549 ncl->upvals[i]->refcount++;
550 /* new closure is white, so we do not need a barrier here */ 550 /* new closure is white, so we do not need a barrier here */
551 } 551 }
552 if (!isblack(obj2gco(p))) /* cache will not break GC invariant? */ 552 if (!isblack(p)) /* cache will not break GC invariant? */
553 p->cache = ncl; /* save it on cache for reuse */ 553 p->cache = ncl; /* save it on cache for reuse */
554} 554}
555 555