diff options
author | Steven Bosscher <stevenb@suse.de> | 2003-12-13 01:06:11 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2003-12-13 01:06:11 +0000 |
commit | b944d1875758f7cf655978b80ce9e2e45a9a0246 (patch) | |
tree | a2982fd809bd0bb84ba275ba4d287f0d614eb65b /gcc/ada/aux-io.c | |
parent | bbfff586bc9784558b71fd7d33dc1552a3118155 (diff) | |
download | gcc-b944d1875758f7cf655978b80ce9e2e45a9a0246.zip gcc-b944d1875758f7cf655978b80ce9e2e45a9a0246.tar.gz gcc-b944d1875758f7cf655978b80ce9e2e45a9a0246.tar.bz2 |
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
Diffstat (limited to 'gcc/ada/aux-io.c')
0 files changed, 0 insertions, 0 deletions