diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-22 00:51:38 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-22 00:51:38 +0000 |
commit | b37237260c7e238f066b35e1eda5ea4ee0b81eab (patch) | |
tree | 343ac747a37ed1b76579c673bbf2348482cacc21 /gcc/basic-block.h | |
parent | ec49ea0bc8720b36b6a105254bb338e7f3f71aa5 (diff) | |
download | gcc-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/basic-block.h')
-rw-r--r-- | gcc/basic-block.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h index f8ddacc6afe..34ef10476c9 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -240,9 +240,6 @@ struct basic_block_def GTY((chain_next ("%h.next_bb"), chain_prev ("%h.prev_bb") /* Chain of PHI nodes for this block. */ tree phi_nodes; - /* A list of predictions. */ - struct edge_prediction *predictions; - /* Expected number of executions: calculated in profile.c. */ gcov_type count; |