diff options
author | Diego Novillo <dnovillo@google.com> | 2013-01-24 10:13:46 -0500 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2013-01-24 10:13:46 -0500 |
commit | cd030c079e5e42fe3f49261fe01f384e6b7f0111 (patch) | |
tree | 34d4eb3cfee54bbc5c75bfb073ac74fea18fdc6d /gcc/ggc-internal.h | |
parent | a861ffa4f3272dd7b87e68d5e2a5876cde3f63c3 (diff) | |
download | gcc-cd030c079e5e42fe3f49261fe01f384e6b7f0111.tar.gz |
Remove zone allocator.
This patch removes the GC zone allocator. It is not used and it
produces several regressions in the testsuite. Furthermore, it
complicates things for the plan to implement manual GC markers
(http://gcc.gnu.org/wiki/cxx-conversion/gc-alternatives#Do_GC_marking_manually).
Tested on x86_64 with standard checking, --enable-checking=gc and
--enable-checking=release.
From-SVN: r195426
Diffstat (limited to 'gcc/ggc-internal.h')
-rw-r--r-- | gcc/ggc-internal.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/ggc-internal.h b/gcc/ggc-internal.h index 15598835701..021961579f2 100644 --- a/gcc/ggc-internal.h +++ b/gcc/ggc-internal.h @@ -55,8 +55,7 @@ extern struct ggc_pch_data *init_ggc_pch (void); of an object. Update the ggc_pch_data structure with as much of that information as is necessary. The bool argument should be true if the object is a string. */ -extern void ggc_pch_count_object (struct ggc_pch_data *, void *, size_t, bool, - enum gt_types_enum); +extern void ggc_pch_count_object (struct ggc_pch_data *, void *, size_t, bool); /* Return the total size of the data to be written to hold all the objects previously passed to ggc_pch_count_object. */ @@ -69,8 +68,7 @@ extern void ggc_pch_this_base (struct ggc_pch_data *, void *); /* Assuming that the objects really do end up at the address passed to ggc_pch_this_base, return the address of this object. The bool argument should be true if the object is a string. */ -extern char *ggc_pch_alloc_object (struct ggc_pch_data *, void *, size_t, bool, - enum gt_types_enum); +extern char *ggc_pch_alloc_object (struct ggc_pch_data *, void *, size_t, bool); /* Write out any initial information required. */ extern void ggc_pch_prepare_write (struct ggc_pch_data *, FILE *); |