summaryrefslogtreecommitdiffstats
path: root/gcc/cfg.c
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-22 22:55:47 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-22 22:55:47 +0000
commit55b71d2453c1e6b26c972cd0eecbb2a22d5ba71a (patch)
treebc0b56816b554a22cb07db76ec8fd478ecd18d69 /gcc/cfg.c
parent2c1e26f1605ced6df25531ad11aac36c95b65f0d (diff)
downloadppe42-gcc-55b71d2453c1e6b26c972cd0eecbb2a22d5ba71a.tar.gz
ppe42-gcc-55b71d2453c1e6b26c972cd0eecbb2a22d5ba71a.zip
* cfg.c (remove_edge): Use VEC_unordered_remove.
(redirect_edge_succ): Likewise. (redirect_edge_pred): Likewise. * cfgrtl.c (force_nonfallthru_and_redirect): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89480 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfg.c')
-rw-r--r--gcc/cfg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cfg.c b/gcc/cfg.c
index ba9e203df3f..eae092dda1b 100644
--- a/gcc/cfg.c
+++ b/gcc/cfg.c
@@ -365,7 +365,7 @@ remove_edge (edge e)
{
if (tmp == e)
{
- VEC_ordered_remove (edge, src->succs, ei.index);
+ VEC_unordered_remove (edge, src->succs, ei.index);
found = true;
break;
}
@@ -380,7 +380,7 @@ remove_edge (edge e)
{
if (tmp == e)
{
- VEC_ordered_remove (edge, dest->preds, ei.index);
+ VEC_unordered_remove (edge, dest->preds, ei.index);
found = true;
break;
}
@@ -407,7 +407,7 @@ redirect_edge_succ (edge e, basic_block new_succ)
{
if (tmp == e)
{
- VEC_ordered_remove (edge, e->dest->preds, ei.index);
+ VEC_unordered_remove (edge, e->dest->preds, ei.index);
found = true;
break;
}
@@ -465,7 +465,7 @@ redirect_edge_pred (edge e, basic_block new_pred)
{
if (tmp == e)
{
- VEC_ordered_remove (edge, e->src->succs, ei.index);
+ VEC_unordered_remove (edge, e->src->succs, ei.index);
found = true;
break;
}
OpenPOWER on IntegriCloud