change in string table: string table is now independent of GC lists; all

strings live in 'normal' GC lists
This commit is contained in:
Roberto Ierusalimschy
2013-08-21 16:21:16 -03:00
parent 8c68863960
commit ae800656c9
7 changed files with 125 additions and 114 deletions

11
lgc.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: lgc.h,v 2.62 2013/08/19 14:18:43 roberto Exp roberto $
** $Id: lgc.h,v 2.63 2013/08/20 17:46:34 roberto Exp roberto $
** Garbage Collector
** See Copyright Notice in lua.h
*/
@@ -38,14 +38,13 @@
*/
#define GCSpropagate 0
#define GCSatomic 1
#define GCSsweepstring 2
#define GCSsweepudata 3
#define GCSsweep 4
#define GCSpause 5
#define GCSsweepudata 2
#define GCSsweep 3
#define GCSpause 4
#define issweepphase(g) \
(GCSsweepstring <= (g)->gcstate && (g)->gcstate <= GCSsweep)
(GCSsweepudata <= (g)->gcstate && (g)->gcstate <= GCSsweep)
/*