basic-block.h (profile_staus): New global variable.
authorJan Hubicka <jh@suse.cz>
Wed, 4 Aug 2004 21:37:06 +0000 (23:37 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 4 Aug 2004 21:37:06 +0000 (21:37 +0000)
commit878f99d22982a567cffaa1c0c21fb52e230f867d
tree14f9d312df96f3a3cf47a367e3b936b8d773c4fe
parentd4794d1a61d47a03acde40beaf0a372929212754
basic-block.h (profile_staus): New global variable.

* basic-block.h (profile_staus): New global variable.
* cfg.c (profile_status): Declare.
(check_bb_profile): Break out from ....; use profile_status
(dump_flow_info): ... here.
* cfgbuild.c (find_basic_blocks): Set profile_status.
* cfgexpand.c (tree_expand_cfg): Likewise.
* predict.c (estimate_probability): Likewise.
* profile.c (branch_prob): Likewise.
* tree-cfg.c (build_tree_cfg): Likewise.
(dump_function_to_file): Use check_bb_profile.
* tree-pretty-print (dump_bb_header): Likewise.
* tree-profile.c (do_tree_profiling): Cleanup.

From-SVN: r85579
gcc/ChangeLog
gcc/basic-block.h
gcc/cfg.c
gcc/cfgbuild.c
gcc/cfgexpand.c
gcc/predict.c
gcc/profile.c
gcc/tree-cfg.c
gcc/tree-pretty-print.c
gcc/tree-profile.c