summaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r--gcc/rtl.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index e6e4ac14969..3cd5bca0f55 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -174,8 +174,7 @@ rtx_alloc_stat (RTX_CODE code MEM_STAT_DECL)
{
rtx rt;
- rt = (rtx) ggc_alloc_typed_stat (gt_ggc_e_7rtx_def,
- RTX_SIZE (code) PASS_MEM_STAT);
+ rt = (rtx) ggc_alloc_zone_stat (RTX_SIZE (code), &rtl_zone 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
@@ -309,8 +308,8 @@ shallow_copy_rtx_stat (rtx orig MEM_STAT_DECL)
{
rtx copy;
- copy = (rtx) ggc_alloc_typed_stat (gt_ggc_e_7rtx_def,
- RTX_SIZE (GET_CODE (orig)) PASS_MEM_STAT);
+ copy = (rtx) ggc_alloc_zone_stat (RTX_SIZE (GET_CODE (orig)),
+ &rtl_zone PASS_MEM_STAT);
memcpy (copy, orig, RTX_SIZE (GET_CODE (orig)));
return copy;
}