summaryrefslogtreecommitdiff
path: root/gcc/cfghooks.c
diff options
context:
space:
mode:
authordavidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-23 16:44:17 +0000
committerdavidxl <davidxl@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-23 16:44:17 +0000
commit6f2b83c82b014d147b1e974b1612a426c7e7c64d (patch)
treefb8cb1577690e9e5922ea506ff9d3114422c61a6 /gcc/cfghooks.c
parentdf308df85089134c6c67a7e05501fee052138b9b (diff)
downloadgcc-6f2b83c82b014d147b1e974b1612a426c7e7c64d.tar.gz
Support slim switch for cfg graph dump
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198201 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfghooks.c')
-rw-r--r--gcc/cfghooks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c
index 6832aabff9e..f583b2fcc39 100644
--- a/gcc/cfghooks.c
+++ b/gcc/cfghooks.c
@@ -313,7 +313,8 @@ dump_bb_for_graph (pretty_printer *pp, basic_block bb)
pp_printf (pp, "COUNT:" HOST_WIDEST_INT_PRINT_DEC, bb->count);
pp_printf (pp, " FREQ:%i |", bb->frequency);
pp_write_text_to_stream (pp);
- cfg_hooks->dump_bb_for_graph (pp, bb);
+ if (!(dump_flags & TDF_SLIM))
+ cfg_hooks->dump_bb_for_graph (pp, bb);
}
/* Dump the complete CFG to FILE. FLAGS are the TDF_* flags in dumpfile.h. */