diff options
author | Josh Conner <jconner@apple.com> | 2007-05-04 18:08:06 +0000 |
---|---|---|
committer | Josh Conner <jconner@gcc.gnu.org> | 2007-05-04 18:08:06 +0000 |
commit | 2b28c07aa788ba7cff755d6858d707de675ad39a (patch) | |
tree | 5c6fa079d68d275f0a55181d36fa6087b1b38780 /gcc/tree-cfg.c | |
parent | acb8a4ef2dc4120ef9e03885e58138d58db192b4 (diff) | |
download | gcc-2b28c07aa788ba7cff755d6858d707de675ad39a.zip gcc-2b28c07aa788ba7cff755d6858d707de675ad39a.tar.gz gcc-2b28c07aa788ba7cff755d6858d707de675ad39a.tar.bz2 |
basic-block.h (cdi_direction): Assign values to all enumeration constants.
2007-05-04 Josh Conner <jconner@apple.com>
* basic-block.h (cdi_direction): Assign values to all enumeration
constants.
(dom_computed): Remove.
(dom_info_state): New.
(set_dom_info_availability): New.
* tree-ssa-loop-im.c (determine_invariantness): Initialize
walk_data.dom_direction.
* cfghooks.c (delete_basic_block): Use dom_info_available_p()
instead of dom_computed[].
(split_edge): Likewise.
(create_basic_block): Likewise.
(merge_blocks): Likewise.
* ifcvt.c (find_if_header): Likewise.
* tree-cfgcleanup.c (cleanup_tree_cfg): Likewise.
* tree-ssa-dce.c (remove_dead_stmt): Likewise.
* tree-ssa.c (verify_ssa): Likewise.
* tree-cfg.c (tree_verify_flow_info): Likewise.
(remove_edge_and_dominated_blocks): Likewise.
* dominance.c (dom_computed): Make static.
(calc_dfs_tree_nonrec): Change third param to a bool.
(calc_dfs_tree): Change second param to a bool.
(calc_idioms): Change second param to a bool. Use
dom_convert_dir_to_idx.
(init_dom_info): Validate dir before using.
(dom_convert_dir_to_idx): New.
(calculate_dominance_info): Use dom_convert_dir_to_idx. New
variable 'reverse' used for calling calc_dfs_tree and calc_idoms.
(free_dominance_info): Use dom_convert_dir_to_idx.
(get_immediate_dominator): Likewise.
(set_immediate_dominator): Likewise.
(get_dominated_by): Likewise.
(redirect_immediate_dominators): Likewise.
(nearest_common_denominator): Likewise.
(dominated_by_p): Likewise.
(bb_dom_dfs_in): Likewise.
(bb_dom_dfs_out): Likewise.
(recount_dominator): Likewise.
(iterate_fix_dominators): Likewise.
(add_to_dominance_info): Likewise.
(delete_from_dominance_info): Likewise.
(first_dom_son): Likewise.
(next_dom_son): Likewise.
(dom_info_available_p): Likewise.
(dom_info_state): New.
(set_dom_info_availability): New.
From-SVN: r124439
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index efe0a1c..0b0ed86 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -3865,7 +3865,7 @@ tree_verify_flow_info (void) } } - if (dom_computed[CDI_DOMINATORS] >= DOM_NO_FAST_QUERY) + if (dom_info_state (CDI_DOMINATORS) >= DOM_NO_FAST_QUERY) verify_dominators (CDI_DOMINATORS); return err; @@ -5375,7 +5375,7 @@ remove_edge_and_dominated_blocks (edge e) basic_block bb, dbb; bitmap_iterator bi; - if (!dom_computed[CDI_DOMINATORS]) + if (!dom_info_available_p (CDI_DOMINATORS)) { remove_edge (e); return; |