summaryrefslogtreecommitdiff
path: root/gcc/tree-phinodes.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-02 02:49:29 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-02 02:49:29 +0000
commit519d40d13f3b40a9cbd4f6f421542bf98cfcec8a (patch)
treea0079d8b70d915b8df927b77e34c0488fb4c56b5 /gcc/tree-phinodes.c
parent31f742e9bb3e4efefdc497b1c77045ecdb2d83a2 (diff)
downloadgcc-519d40d13f3b40a9cbd4f6f421542bf98cfcec8a.tar.gz
* tree-phinodes.c (remove_phi_arg_num): Fix a comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91608 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-phinodes.c')
-rw-r--r--gcc/tree-phinodes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-phinodes.c b/gcc/tree-phinodes.c
index dc37066969b..91bff61b1e0 100644
--- a/gcc/tree-phinodes.c
+++ b/gcc/tree-phinodes.c
@@ -360,10 +360,10 @@ add_phi_arg (tree phi, tree def, edge e)
PHI_ARG_NONZERO (phi, e->dest_idx) = false;
}
-/* Remove the Ith argument from PHI's argument list. This routine assumes
- ordering of alternatives in the vector is not important and implements
- removal by swapping the last alternative with the alternative we want to
- delete, then shrinking the vector. */
+/* Remove the Ith argument from PHI's argument list. This routine
+ implements removal by swapping the last alternative with the
+ alternative we want to delete and then shrinking the vector, which
+ is consistent with how we remove an edge from the edge vector. */
static void
remove_phi_arg_num (tree phi, int i)