diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-12-02 02:49:29 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-12-02 02:49:29 +0000 |
commit | 8930ce20d027c54f5019ab3b0171222bf85e357c (patch) | |
tree | a0079d8b70d915b8df927b77e34c0488fb4c56b5 | |
parent | 84dcde01bdb678f5fca3a237d798fe9d7b297215 (diff) | |
download | gcc-8930ce20d027c54f5019ab3b0171222bf85e357c.zip gcc-8930ce20d027c54f5019ab3b0171222bf85e357c.tar.gz gcc-8930ce20d027c54f5019ab3b0171222bf85e357c.tar.bz2 |
* tree-phinodes.c (remove_phi_arg_num): Fix a comment.
From-SVN: r91608
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/tree-phinodes.c | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 88593cf..d6cfd71 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/tree-phinodes.c b/gcc/tree-phinodes.c index dc37066..91bff61 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) |