diff options
author | Ben Elliston <bje@au.ibm.com> | 2004-10-22 22:55:47 +0000 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2004-10-23 08:55:47 +1000 |
commit | 865851d0dcf66549d5618c7799564bc8eba8c489 (patch) | |
tree | bc0b56816b554a22cb07db76ec8fd478ecd18d69 /gcc/cfg.c | |
parent | fef62f03701544d1bb17977755f6f616407d11ef (diff) | |
download | gcc-865851d0dcf66549d5618c7799564bc8eba8c489.zip gcc-865851d0dcf66549d5618c7799564bc8eba8c489.tar.gz gcc-865851d0dcf66549d5618c7799564bc8eba8c489.tar.bz2 |
cfg.c (remove_edge): Use VEC_unordered_remove.
* cfg.c (remove_edge): Use VEC_unordered_remove.
(redirect_edge_succ): Likewise.
(redirect_edge_pred): Likewise.
* cfgrtl.c (force_nonfallthru_and_redirect): Likewise.
From-SVN: r89480
Diffstat (limited to 'gcc/cfg.c')
-rw-r--r-- | gcc/cfg.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; } |