ggc-zone.c: New file, zone allocating collector.
authorDaniel Berlin <dberlin@dberlin.org>
Mon, 27 Oct 2003 00:26:52 +0000 (00:26 +0000)
committerDaniel Berlin <dberlin@gcc.gnu.org>
Mon, 27 Oct 2003 00:26:52 +0000 (00:26 +0000)
commitb6f611637e7411536dc883100c543547f4b7c03a
tree4348e45b7dfeeb6d8cce2f6f38df5cb802f97b60
parent60b6a81550ece89cc0d49dc7741f609c0886d191
ggc-zone.c: New file, zone allocating collector.

2003-10-26  Daniel Berlin  <dberlin@dberlin.org>

* ggc-zone.c:  New file, zone allocating collector.
* configure: Accept zone option for --with-gc
* configure.in: Ditto.
* ggc.h (ggc_pch_count_object): Pass bool indicating
stringiness. Update all callers.
(ggc_pch_alloc_object): Ditto.
(ggc_pch_write_object): Ditto.
(ggc_alloc_rtx): Use typed allocation, since all RTX's are of a single
type.
(ggc_alloc_rtvec): Ditto.
(ggc_alloc_tree): Use zone allocation, since some things using this macro
aren't a single typecode.
* ggc-none.c (ggc_alloc_typed): New function.
(ggc_alloc_zone): Ditto.
* ggc-page.c: Ditto on both functions.

From-SVN: r72971
gcc/ChangeLog
gcc/Makefile.in
gcc/configure
gcc/configure.in
gcc/ggc-common.c
gcc/ggc-none.c
gcc/ggc-page.c
gcc/ggc-zone.c [new file with mode: 0644]
gcc/ggc.h