From 4eeb1831bee8c424a60b5ca05667b5d1c1bb662e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 11 Sep 2013 11:47:08 -0300 Subject: new names and better order for GC states (sweep first lists that can have dead objects) --- lgc.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'lgc.h') diff --git a/lgc.h b/lgc.h index 7a449829..91e241a0 100644 --- a/lgc.h +++ b/lgc.h @@ -1,5 +1,5 @@ /* -** $Id: lgc.h,v 2.73 2013/09/11 12:47:48 roberto Exp roberto $ +** $Id: lgc.h,v 2.74 2013/09/11 14:09:55 roberto Exp roberto $ ** Garbage Collector ** See Copyright Notice in lua.h */ @@ -38,18 +38,18 @@ */ #define GCSpropagate 0 #define GCSatomic 1 -#define GCSsweeplocal 2 -#define GCSsweeplocfin 3 -#define GCSsweepfin 4 -#define GCSsweepall 5 -#define GCSsweeptobefnz 6 -#define GCSsweepthreads 7 -#define GCSsweepend 8 +#define GCSswplocalgc 2 +#define GCSswpallgc 4 +#define GCSswpthreads 3 +#define GCSswplocalfin 5 +#define GCSswpfinobj 6 +#define GCSswptobefnz 7 +#define GCSswpend 8 #define GCSpause 9 #define issweepphase(g) \ - (GCSsweeplocal <= (g)->gcstate && (g)->gcstate <= GCSsweepend) + (GCSswplocalgc <= (g)->gcstate && (g)->gcstate <= GCSswpend) /* -- cgit v1.2.3-55-g6feb