aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-04-20 15:59:01 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-04-20 15:59:01 +0000
commit2a9254314b416c9d6e8eccf600a54ed829a48147 (patch)
tree864f29d7a4c7813fc9c1acb3153af7a97de8a5f4 /gcc/tree-ssa-phiopt.c
parente5206274848085463852802030a773f82a224b00 (diff)
downloadgcc-2a9254314b416c9d6e8eccf600a54ed829a48147.zip
gcc-2a9254314b416c9d6e8eccf600a54ed829a48147.tar.gz
gcc-2a9254314b416c9d6e8eccf600a54ed829a48147.tar.bz2
* tree-ssa-phiopt.c: Fix comments.
From-SVN: r98462
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
-rw-r--r--gcc/tree-ssa-phiopt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c
index 6149180..65faf3a 100644
--- a/gcc/tree-ssa-phiopt.c
+++ b/gcc/tree-ssa-phiopt.c
@@ -205,7 +205,8 @@ tree_ssa_phiopt (void)
|| (e1->flags & EDGE_FALLTHRU) == 0)
continue;
- /* Also make that bb1 only have one pred and it is bb. */
+ /* Also make sure that bb1 only have one predecessor and that it
+ is bb. */
if (!single_pred_p (bb1)
|| single_pred (bb1) != bb)
continue;
@@ -221,7 +222,7 @@ tree_ssa_phiopt (void)
arg0 = PHI_ARG_DEF_TREE (phi, e1->dest_idx);
arg1 = PHI_ARG_DEF_TREE (phi, e2->dest_idx);
- /* We know something is wrong if we cannot find the edges in the PHI
+ /* Something is wrong if we cannot find the arguments in the PHI
node. */
gcc_assert (arg0 != NULL && arg1 != NULL);