summaryrefslogtreecommitdiff
path: root/gcc/cfgrtl.c
diff options
context:
space:
mode:
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-22 00:51:38 +0000
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-22 00:51:38 +0000
commitb37237260c7e238f066b35e1eda5ea4ee0b81eab (patch)
tree343ac747a37ed1b76579c673bbf2348482cacc21 /gcc/cfgrtl.c
parentec49ea0bc8720b36b6a105254bb338e7f3f71aa5 (diff)
downloadgcc-b37237260c7e238f066b35e1eda5ea4ee0b81eab.tar.gz
* predict.c: Include pointer-set.h.
(bb_predictions): New variable. (tree_predicted_by_p, tree_predict_edge, remove_predictions_associated_with_edge): Use bb_predictions map instead of bb->predictions. (clear_bb_predictions, assert_is_empty): New functions. (combine_predictions_for_bb): Use bb_predictions map. Call clear_bb_predictions. (tree_estimate_probability): Create and free bb_predictions map. * Makefile.in (predict.o): Add pointer-set.h dependency. * basic-block.h (struct basic_block_def): Remove predictions field. * cfgrtl.c (rtl_verify_flow_info_1): Do not check bb->predictions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124032 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r--gcc/cfgrtl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c
index 9bc2b99a64f..20b946d8b49 100644
--- a/gcc/cfgrtl.c
+++ b/gcc/cfgrtl.c
@@ -1716,12 +1716,6 @@ rtl_verify_flow_info_1 (void)
bb->index);
err = 1;
}
-
- if (bb->predictions)
- {
- error ("bb prediction set for block %d, but it is not used in RTL land", bb->index);
- err = 1;
- }
}
/* Now check the basic blocks (boundaries etc.) */