diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-21 16:21:16 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-21 16:21:16 -0300 |
commit | ae800656c9f82b54f6fae1497022d3484ad0c920 (patch) | |
tree | e3124387f4e29fc452ebb3c15b7e6cd0c1f4bbb7 /lgc.h | |
parent | 8c688639605f3ec0b5a57d906cacc27981b066da (diff) | |
download | lua-ae800656c9f82b54f6fae1497022d3484ad0c920.tar.gz lua-ae800656c9f82b54f6fae1497022d3484ad0c920.tar.bz2 lua-ae800656c9f82b54f6fae1497022d3484ad0c920.zip |
change in string table: string table is now independent of GC lists; all
strings live in 'normal' GC lists
Diffstat (limited to '')
-rw-r--r-- | lgc.h | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lgc.h,v 2.62 2013/08/19 14:18:43 roberto Exp roberto $ | 2 | ** $Id: lgc.h,v 2.63 2013/08/20 17:46:34 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 | */ |
@@ -38,14 +38,13 @@ | |||
38 | */ | 38 | */ |
39 | #define GCSpropagate 0 | 39 | #define GCSpropagate 0 |
40 | #define GCSatomic 1 | 40 | #define GCSatomic 1 |
41 | #define GCSsweepstring 2 | 41 | #define GCSsweepudata 2 |
42 | #define GCSsweepudata 3 | 42 | #define GCSsweep 3 |
43 | #define GCSsweep 4 | 43 | #define GCSpause 4 |
44 | #define GCSpause 5 | ||
45 | 44 | ||
46 | 45 | ||
47 | #define issweepphase(g) \ | 46 | #define issweepphase(g) \ |
48 | (GCSsweepstring <= (g)->gcstate && (g)->gcstate <= GCSsweep) | 47 | (GCSsweepudata <= (g)->gcstate && (g)->gcstate <= GCSsweep) |
49 | 48 | ||
50 | 49 | ||
51 | /* | 50 | /* |