diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-16 16:58:59 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-16 16:58:59 +0000 |
commit | 6b9d2769c968b617009094864bbe4e6e03b621e2 (patch) | |
tree | 0af8e2a4f49682307883dde1cf867f72847cd300 /gcc/cfghooks.c | |
parent | 0a501ca61f3e4bc9da771b30929311bca9cb166b (diff) | |
download | gcc-6b9d2769c968b617009094864bbe4e6e03b621e2.tar.gz |
PR tree-optimization/17766
* basic-block.h (enum dom_state): DOM_CONS_OK removed.
(dom_info_available_p): Declare.
* cfghooks.c (split_block, make_forwarder_block): Use
dom_info_available_p.
* dominance.c (compute_dom_fast_query, calculate_dominance_info,
free_dominance_info, verify_dominators): Ditto.
(dom_info_available_p): New function.
* tree-cfg.c (cleanup_control_expr_graph): Free dominance information.
(thread_jumps): Use dom_info_available_p.
* tree-complex.c (expand_complex_div_wide): Ditto.
* tree-mudflap.c (mf_build_check_statement_for): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89147 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfghooks.c')
-rw-r--r-- | gcc/cfghooks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c index 948c2b4c13d..46e0f8c67ea 100644 --- a/gcc/cfghooks.c +++ b/gcc/cfghooks.c @@ -318,7 +318,7 @@ split_block (basic_block bb, void *i) new_bb->frequency = bb->frequency; new_bb->loop_depth = bb->loop_depth; - if (dom_computed[CDI_DOMINATORS] >= DOM_CONS_OK) + if (dom_info_available_p (CDI_DOMINATORS)) { redirect_immediate_dominators (CDI_DOMINATORS, bb, new_bb); set_immediate_dominator (CDI_DOMINATORS, new_bb, bb); @@ -592,7 +592,7 @@ make_forwarder_block (basic_block bb, bool (*redirect_edge_p) (edge), new_bb_cbk (jump); } - if (dom_computed[CDI_DOMINATORS] >= DOM_CONS_OK) + if (dom_info_available_p (CDI_DOMINATORS)) { basic_block doms_to_fix[2]; |