* tree-phinodes.c (remove_phi_arg_num): Fix a comment.
authorKazu Hirata <kazu@cs.umass.edu>
Thu, 2 Dec 2004 02:49:29 +0000 (02:49 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 2 Dec 2004 02:49:29 +0000 (02:49 +0000)
From-SVN: r91608

gcc/ChangeLog
gcc/tree-phinodes.c

index 88593cfee8e19f30f346d891e005ca306b3b39c9..d6cfd717c7d1d609b802d6b388dca9b6f16512ee 100644 (file)
@@ -1,3 +1,7 @@
+2004-12-02  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-phinodes.c (remove_phi_arg_num): Fix a comment.
+
 2004-12-02  Alan Modra  <amodra@bigpond.net.au>
 
        PR target/16952
index dc37066969b2683f9217b48a9d45b14817bd2aec..91bff61b1e0bbe3f7ee691a7de828eaae663fd60 100644 (file)
@@ -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)