This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix --enable-detailed-mem-stats


> > 
> > I think this is a nicer solution.  How about you?
> 
> > 2005-04-15  Daniel Jacobowitz  <dan@codesourcery.com>
> > 
> > 	* 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.
> 
> Ping.  Is this patch OK?
> 

This is fine by me, but i can't approve the non-zone portions.

(Honestly, i also don't have much feeling whether honza or yours is
really a cleaner solution, since both expose about the same amount of
internals)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]