aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-ssa.c')
-rw-r--r--gcc/tree-ssa.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/gcc/tree-ssa.c b/gcc/tree-ssa.c
index 5dfa8c7..1e2b59d 100644
--- a/gcc/tree-ssa.c
+++ b/gcc/tree-ssa.c
@@ -53,14 +53,8 @@ Boston, MA 02111-1307, USA. */
void
ssa_remove_edge (edge e)
{
- tree phi, next;
-
- /* Remove the appropriate PHI arguments in E's destination block. */
- for (phi = phi_nodes (e->dest); phi; phi = next)
- {
- next = PHI_CHAIN (phi);
- remove_phi_arg (phi, e->src);
- }
+ /* Remove all PHI arguments for E. */
+ remove_phi_args (e);
remove_edge (e);
}