mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
7837c24708
commit
9957322df4
|
@ -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>
|
2009-12-02 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
* fold-const.c (div_if_zero_remainder): Honor that sizetypes
|
* fold-const.c (div_if_zero_remainder): Honor that sizetypes
|
||||||
|
|
|
@ -335,6 +335,16 @@ typedef struct page_table_chain
|
||||||
|
|
||||||
#endif
|
#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. */
|
/* The rest of the global variables. */
|
||||||
static struct globals
|
static struct globals
|
||||||
{
|
{
|
||||||
|
@ -421,11 +431,7 @@ static struct globals
|
||||||
#ifdef ENABLE_GC_ALWAYS_COLLECT
|
#ifdef ENABLE_GC_ALWAYS_COLLECT
|
||||||
/* List of free objects to be verified as actually free on the
|
/* List of free objects to be verified as actually free on the
|
||||||
next collection. */
|
next collection. */
|
||||||
struct free_object
|
struct free_object *free_object_list;
|
||||||
{
|
|
||||||
void *object;
|
|
||||||
struct free_object *next;
|
|
||||||
} *free_object_list;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef GATHER_STATISTICS
|
#ifdef GATHER_STATISTICS
|
||||||
|
|
Loading…
Reference in New Issue