aboutsummaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
Diffstat (limited to 'lgc.h')
-rw-r--r--lgc.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/lgc.h b/lgc.h
index 91e241a0..88bd556a 100644
--- a/lgc.h
+++ b/lgc.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.h,v 2.74 2013/09/11 14:09:55 roberto Exp roberto $ 2** $Id: lgc.h,v 2.75 2013/09/11 14:47:08 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*/
@@ -128,10 +128,6 @@
128 if (nolocal(obj2gco(o)), isblack(obj2gco(p)) && iswhite(obj2gco(o))) \ 128 if (nolocal(obj2gco(o)), isblack(obj2gco(p)) && iswhite(obj2gco(o))) \
129 luaC_barrier_(L,obj2gco(p),obj2gco(o)); } 129 luaC_barrier_(L,obj2gco(p),obj2gco(o)); }
130 130
131#define luaC_objbarrierback(L,p,o) \
132 { if (nolocal(obj2gco(o)), isblack(obj2gco(p)) && iswhite(obj2gco(o))) \
133 luaC_barrierback_(L,obj2gco(p)); }
134
135#define luaC_upvalbarrier(L,uv) \ 131#define luaC_upvalbarrier(L,uv) \
136 { if (iscollectable((uv)->v) && !upisopen(uv)) \ 132 { if (iscollectable((uv)->v) && !upisopen(uv)) \
137 luaC_upvalbarrier_(L,uv); } 133 luaC_upvalbarrier_(L,uv); }