aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@codesourcery.com>2005-05-02 18:25:23 +0000
committerDaniel Jacobowitz <drow@gcc.gnu.org>2005-05-02 18:25:23 +0000
commita6e4d85b506e3424a02c752661b47e35efe1ee05 (patch)
tree90026114ff8c66b22fb5163e84cf7c18df6b27fa /gcc/rtl.c
parentff7f012ac0aa90d0b8f540a01844ecc158b2d740 (diff)
downloadgcc-a6e4d85b506e3424a02c752661b47e35efe1ee05.zip
gcc-a6e4d85b506e3424a02c752661b47e35efe1ee05.tar.gz
gcc-a6e4d85b506e3424a02c752661b47e35efe1ee05.tar.bz2
ggc.h (ggc_alloc_zone_pass_stat): New macro.
* ggc.h (ggc_alloc_zone_pass_stat): New macro. (ggc_alloc_zone_stat): Don't define. * ggc-zone.c (ggc_alloc_typed_stat, ggc_alloc_stat): Use ggc_alloc_zone_pass_stat. * rtl.c (rtx_alloc_stat, shallow_copy_rtx_stat): Likewise. * tree.c (make_node_stat, copy_node_stat, make_tree_binfo_stat) (make_tree_vec_stat, tree_cons_stat, build1_stat): Likewise. From-SVN: r99114
Diffstat (limited to 'gcc/rtl.c')
-rw-r--r--gcc/rtl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/rtl.c b/gcc/rtl.c
index 3cd5bca..2f52544e 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -174,7 +174,7 @@ rtx_alloc_stat (RTX_CODE code MEM_STAT_DECL)
{
rtx rt;
- rt = (rtx) ggc_alloc_zone_stat (RTX_SIZE (code), &rtl_zone PASS_MEM_STAT);
+ rt = (rtx) ggc_alloc_zone_pass_stat (RTX_SIZE (code), &rtl_zone);
/* 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
@@ -308,8 +308,8 @@ shallow_copy_rtx_stat (rtx orig MEM_STAT_DECL)
{
rtx copy;
- copy = (rtx) ggc_alloc_zone_stat (RTX_SIZE (GET_CODE (orig)),
- &rtl_zone PASS_MEM_STAT);
+ copy = (rtx) ggc_alloc_zone_pass_stat (RTX_SIZE (GET_CODE (orig)),
+ &rtl_zone);
memcpy (copy, orig, RTX_SIZE (GET_CODE (orig)));
return copy;
}