summaryrefslogtreecommitdiff
path: root/gcc/cfg.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-03 19:03:29 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2005-06-03 19:03:29 +0000
commit631fa7dec48a8cd25753636d5990b8a131f01452 (patch)
treedccec4c166610579fbf93533c4da6b37727bb546 /gcc/cfg.c
parent2507e5d0fba65ec9d40cfa20c7d3cbc77fbacf4a (diff)
downloadgcc-631fa7dec48a8cd25753636d5990b8a131f01452.tar.gz
* basic-block.h (remove_predictions_associated_with_edge): Declare.
* cfg.c (remove_edge): Use it. * predict.c (remove_predictions_associated_with_edge): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100551 138bc75d-0d04-0410-961f-82ee72b054a4
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 c1cf389e69f..e842a508346 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);