]> gcc.gnu.org Git - gcc.git/commit
ggc-zone.c (struct alloc_zone): Don't pre-declare, it already comes in with ggc.h.
authorSteven Bosscher <stevenb@suse.de>
Sat, 13 Dec 2003 01:06:11 +0000 (01:06 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Sat, 13 Dec 2003 01:06:11 +0000 (01:06 +0000)
commitb944d1875758f7cf655978b80ce9e2e45a9a0246
treea2982fd809bd0bb84ba275ba4d287f0d614eb65b
parentbbfff586bc9784558b71fd7d33dc1552a3118155
ggc-zone.c (struct alloc_zone): Don't pre-declare, it already comes in with ggc.h.

* ggc-zone.c (struct alloc_zone): Don't pre-declare, it already
comes in with ggc.h.  Add a new bool field `dead'.
(destroy_ggc_zone): Don't destroy a zone at once.  Instead, only
set the `dead' flag for the dead zone.  Wrap a sanity check in
ENABLE_CHECKING.
(ggc_collect_1): Always mark and sweep if a zone has the `dead'
flag set.
(ggc_collect): Free dead zones after collecting.

From-SVN: r74592
gcc/ChangeLog
gcc/ggc-zone.c
This page took 0.051811 seconds and 5 git commands to generate.