aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-phinodes.c
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2013-01-24 10:13:46 -0500
committerDiego Novillo <dnovillo@gcc.gnu.org>2013-01-24 10:13:46 -0500
commitcd030c079e5e42fe3f49261fe01f384e6b7f0111 (patch)
tree34d4eb3cfee54bbc5c75bfb073ac74fea18fdc6d /gcc/tree-phinodes.c
parenta861ffa4f3272dd7b87e68d5e2a5876cde3f63c3 (diff)
downloadgcc-cd030c079e5e42fe3f49261fe01f384e6b7f0111.zip
gcc-cd030c079e5e42fe3f49261fe01f384e6b7f0111.tar.gz
gcc-cd030c079e5e42fe3f49261fe01f384e6b7f0111.tar.bz2
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/tree-phinodes.c')
-rw-r--r--gcc/tree-phinodes.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/tree-phinodes.c b/gcc/tree-phinodes.c
index 03a20fa..4499753 100644
--- a/gcc/tree-phinodes.c
+++ b/gcc/tree-phinodes.c
@@ -42,10 +42,6 @@ along with GCC; see the file COPYING3. If not see
garbage collector. Similar results have been seen on a wider variety
of tests (such as the compiler itself).
- We could also use a zone allocator for these objects since they have
- a very well defined lifetime. If someone wants to experiment with that
- this is the place to try it.
-
PHI nodes have different sizes, so we can't have a single list of all
the PHI nodes as it would be too expensive to walk down that list to
find a PHI of a suitable size.