From b29540f964edf027d9bbf31e6831d2e6928054dd Mon Sep 17 00:00:00 2001 From: drow Date: Mon, 2 May 2005 18:25:23 +0000 Subject: * 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 --- gcc/ggc.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'gcc/ggc.h') diff --git a/gcc/ggc.h b/gcc/ggc.h index f6fad495b15..57107ffdfc1 100644 --- a/gcc/ggc.h +++ b/gcc/ggc.h @@ -313,15 +313,11 @@ extern struct alloc_zone tree_id_zone; /* Allocate an object into the specified allocation zone. */ extern void *ggc_alloc_zone_stat (size_t, struct alloc_zone * MEM_STAT_DECL); # define ggc_alloc_zone(s,z) ggc_alloc_zone_stat (s,z MEM_STAT_INFO) - +# define ggc_alloc_zone_pass_stat(s,z) ggc_alloc_zone_stat (s,z PASS_MEM_STAT) #else # define ggc_alloc_zone(s, z) ggc_alloc (s) -# ifdef GATHER_STATISTICS -# define ggc_alloc_zone_stat(s, z, n, l, f) ggc_alloc_stat (s, n, l, f) -# else -# define ggc_alloc_zone_stat(s, z) ggc_alloc_stat (s) -# endif +# define ggc_alloc_zone_pass_stat(s, z) ggc_alloc_stat (s PASS_MEM_STAT) #endif -- cgit v1.2.1