On Sun, Apr 21, 2013 at 12:47 AM, Xinliang David Li wrote: > Index: graph.c > =================================================================== > --- graph.c (revision 198108) > +++ graph.c (working copy) > @@ -110,6 +110,9 @@ draw_cfg_node (pretty_printer *pp, int f > else > { > pp_character (pp, '{'); > + if (bb->count) > + pp_printf (pp, "COUNT:" HOST_WIDEST_INT_PRINT_DEC, bb->count); > + pp_printf (pp, " FREQ:%i |", bb->frequency); > pp_write_text_to_stream (pp); > dump_bb_for_graph (pp, bb); > pp_character (pp, '}');
This doesn't belong here, please put it in cfghooks.c:dump_bb_for_graph. Otherwise, looks good me. Ciao! Steven