diff options
author | Zdenek Dvorak <dvorakz@suse.cz> | 2007-04-22 02:51:38 +0200 |
---|---|---|
committer | Zdenek Dvorak <rakdver@gcc.gnu.org> | 2007-04-22 00:51:38 +0000 |
commit | f06b0a10f9843a34d6df20c7803d900ff177e908 (patch) | |
tree | 343ac747a37ed1b76579c673bbf2348482cacc21 /gcc/basic-block.h | |
parent | e919dfe284cd927fd0c1f0c9dea2570093e5280b (diff) | |
download | gcc-f06b0a10f9843a34d6df20c7803d900ff177e908.zip gcc-f06b0a10f9843a34d6df20c7803d900ff177e908.tar.gz gcc-f06b0a10f9843a34d6df20c7803d900ff177e908.tar.bz2 |
predict.c: Include pointer-set.h.
* 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.
From-SVN: r124032
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 f8ddacc..34ef104 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; |