aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.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/rtl.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/rtl.c')
-rw-r--r--gcc/rtl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index 38c46fa..bc49fc8 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -192,8 +192,7 @@ rtx_size (const_rtx x)
rtx
rtx_alloc_stat (RTX_CODE code MEM_STAT_DECL)
{
- rtx rt = ggc_alloc_zone_rtx_def_stat (&rtl_zone, RTX_CODE_SIZE (code)
- PASS_MEM_STAT);
+ rtx rt = ggc_alloc_rtx_def_stat (RTX_CODE_SIZE (code) PASS_MEM_STAT);
/* We want to clear everything up to the FLD array. Normally, this
is one int, but we don't want to assume that and it isn't very
@@ -329,7 +328,7 @@ rtx
shallow_copy_rtx_stat (const_rtx orig MEM_STAT_DECL)
{
const unsigned int size = rtx_size (orig);
- rtx const copy = ggc_alloc_zone_rtx_def_stat (&rtl_zone, size PASS_MEM_STAT);
+ rtx const copy = ggc_alloc_rtx_def_stat (size PASS_MEM_STAT);
return (rtx) memcpy (copy, orig, size);
}