]> git.ipfire.org Git - thirdparty/gcc.git/commit
predict.c: Include pointer-set.h.
authorZdenek Dvorak <dvorakz@suse.cz>
Sun, 22 Apr 2007 00:51:38 +0000 (02:51 +0200)
committerZdenek Dvorak <rakdver@gcc.gnu.org>
Sun, 22 Apr 2007 00:51:38 +0000 (00:51 +0000)
commitf06b0a10f9843a34d6df20c7803d900ff177e908
tree343ac747a37ed1b76579c673bbf2348482cacc21
parente919dfe284cd927fd0c1f0c9dea2570093e5280b
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
gcc/ChangeLog
gcc/Makefile.in
gcc/basic-block.h
gcc/cfgrtl.c
gcc/predict.c