diff options
author | drow <drow@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-02 18:25:23 +0000 |
---|---|---|
committer | drow <drow@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-02 18:25:23 +0000 |
commit | b29540f964edf027d9bbf31e6831d2e6928054dd (patch) | |
tree | 90026114ff8c66b22fb5163e84cf7c18df6b27fa /gcc/ggc-zone.c | |
parent | 99b442ff01f2d9ae7b66fff9516be78f684fc42f (diff) | |
download | gcc-b29540f964edf027d9bbf31e6831d2e6928054dd.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99114 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ggc-zone.c')
-rw-r--r-- | gcc/ggc-zone.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ggc-zone.c b/gcc/ggc-zone.c index 8cc94e0b9e4..596bbbab7f4 100644 --- a/gcc/ggc-zone.c +++ b/gcc/ggc-zone.c @@ -1274,16 +1274,16 @@ ggc_alloc_typed_stat (enum gt_types_enum gte, size_t size switch (gte) { case gt_ggc_e_14lang_tree_node: - return ggc_alloc_zone_stat (size, &tree_zone PASS_MEM_STAT); + return ggc_alloc_zone_pass_stat (size, &tree_zone); case gt_ggc_e_7rtx_def: - return ggc_alloc_zone_stat (size, &rtl_zone PASS_MEM_STAT); + return ggc_alloc_zone_pass_stat (size, &rtl_zone); case gt_ggc_e_9rtvec_def: - return ggc_alloc_zone_stat (size, &rtl_zone PASS_MEM_STAT); + return ggc_alloc_zone_pass_stat (size, &rtl_zone); default: - return ggc_alloc_zone_stat (size, &main_zone PASS_MEM_STAT); + return ggc_alloc_zone_pass_stat (size, &main_zone); } } @@ -1292,7 +1292,7 @@ ggc_alloc_typed_stat (enum gt_types_enum gte, size_t size void * ggc_alloc_stat (size_t size MEM_STAT_DECL) { - return ggc_alloc_zone_stat (size, &main_zone PASS_MEM_STAT); + return ggc_alloc_zone_pass_stat (size, &main_zone); } /* Poison the chunk. */ |