Commit 2a925431 by Kazu Hirata Committed by Kazu Hirata

* tree-ssa-phiopt.c: Fix comments.

From-SVN: r98462
parent e5206274
......@@ -8,6 +8,8 @@
minmax_replacement, abs_replacement): Remove argument PHI_BB.
Update a call to replace_phi_edge_with_variable.
* tree-ssa-phiopt.c: Fix comments.
2005-04-20 Michael Matz <matz@suse.de>
PR20973
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment