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
This commit is contained in:
Dave Korn 2009-12-03 02:04:16 +00:00 committed by Dave Korn
parent 7837c24708
commit 9957322df4
2 changed files with 16 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2009-12-03 Dave Korn <dave.korn.cygwin@gmail.com>
* ggc-page.c (struct free_object): Pull definition out ...
(struct globals): .. from here.
2009-12-02 Richard Guenther <rguenther@suse.de>
* fold-const.c (div_if_zero_remainder): Honor that sizetypes

View File

@ -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