diff options
author | Dave Korn <dave.korn.cygwin@gmail.com> | 2009-12-03 02:04:16 +0000 |
---|---|---|
committer | Dave Korn <davek@gcc.gnu.org> | 2009-12-03 02:04:16 +0000 |
commit | 9957322df46f0363629313f50476e588ea910e68 (patch) | |
tree | c80e3f2011ab756e283799cacc29d0fd5c93b582 /gcc/ggc-page.c | |
parent | 7837c24708194d304676da713eadece368270fcc (diff) | |
download | gcc-9957322df46f0363629313f50476e588ea910e68.zip gcc-9957322df46f0363629313f50476e588ea910e68.tar.gz gcc-9957322df46f0363629313f50476e588ea910e68.tar.bz2 |
ggc-page.c (struct free_object): Pull definition out ...
* ggc-page.c (struct free_object): Pull definition out ...
(struct globals): .. from here.
From-SVN: r154933
Diffstat (limited to 'gcc/ggc-page.c')
-rw-r--r-- | gcc/ggc-page.c | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/gcc/ggc-page.c b/gcc/ggc-page.c index 84b5c11..807bded 100644 --- a/gcc/ggc-page.c +++ b/gcc/ggc-page.c @@ -335,6 +335,16 @@ typedef struct page_table_chain #endif +#ifdef ENABLE_GC_ALWAYS_COLLECT +/* List of free objects to be verified as actually free on the + next collection. */ +struct free_object +{ + void *object; + struct free_object *next; +}; +#endif + /* The rest of the global variables. */ static struct globals { @@ -421,11 +431,7 @@ static struct globals #ifdef ENABLE_GC_ALWAYS_COLLECT /* List of free objects to be verified as actually free on the next collection. */ - struct free_object - { - void *object; - struct free_object *next; - } *free_object_list; + struct free_object *free_object_list; #endif #ifdef GATHER_STATISTICS |