aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfg.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2005-06-03 21:03:29 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2005-06-03 19:03:29 +0000
commit3809e99053b8195163c43228e54831704c35484c (patch)
treedccec4c166610579fbf93533c4da6b37727bb546 /gcc/cfg.c
parent7c9ac5c0354c587ba84956a4a34584ec2c7648cb (diff)
downloadgcc-3809e99053b8195163c43228e54831704c35484c.zip
gcc-3809e99053b8195163c43228e54831704c35484c.tar.gz
gcc-3809e99053b8195163c43228e54831704c35484c.tar.bz2
basic-block.h (remove_predictions_associated_with_edge): Declare.
* basic-block.h (remove_predictions_associated_with_edge): Declare. * cfg.c (remove_edge): Use it. * predict.c (remove_predictions_associated_with_edge): New function. From-SVN: r100551
Diffstat (limited to 'gcc/cfg.c')
-rw-r--r--gcc/cfg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cfg.c b/gcc/cfg.c
index c1cf389..e842a50 100644
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -349,6 +349,7 @@ make_single_succ_edge (basic_block src, basic_block dest, int flags)
void
remove_edge (edge e)
{
+ remove_predictions_associated_with_edge (e);
execute_on_shrinking_pred (e);
disconnect_src (e);