Commit 4b756989 by Andrew MacLeod Committed by Andrew Macleod

Fix comments and formatrting

From-SVN: r140457
parent a38df783
2008-09-18 Andrew MacLeod <amacleod@redhat.com> 2008-09-18 Andrew MacLeod <amacleod@redhat.com>
* tree-outof-ssa.c (eliminate_useless_phis): fix formatting.
* tree-flow-.h (struct immediate_use_iterator_d): Fix comment.
2008-09-18 Andrew MacLeod <amacleod@redhat.com>
PR tree-optimization/37102 PR tree-optimization/37102
* tree-outof-ssa.c (remove_gimple_phi_args): Remove all the PHI args * tree-outof-ssa.c (remove_gimple_phi_args): Remove all the PHI args
from a node. Check to see if another PHI is dead. from a node. Check to see if another PHI is dead.
......
...@@ -508,7 +508,7 @@ typedef struct immediate_use_iterator_d ...@@ -508,7 +508,7 @@ typedef struct immediate_use_iterator_d
{ {
FOR_EACH_IMM_USE_ON_STMT (use_p, iter) FOR_EACH_IMM_USE_ON_STMT (use_p, iter)
{ {
SET_USE (use_p) = blah; SET_USE (use_p, blah);
} }
update_stmt (stmt); update_stmt (stmt);
} */ } */
......
...@@ -606,7 +606,7 @@ replace_def_variable (var_map map, def_operand_p def_p, tree *expr) ...@@ -606,7 +606,7 @@ replace_def_variable (var_map map, def_operand_p def_p, tree *expr)
} }
/* Remove each argument from a PHI node. If an arg was the last use of an SSA_NAME, /* Remove each argument from PHI. If an arg was the last use of an SSA_NAME,
check to see if this allows another PHI node to be removed. */ check to see if this allows another PHI node to be removed. */
static void static void
...@@ -667,8 +667,8 @@ eliminate_useless_phis (void) ...@@ -667,8 +667,8 @@ eliminate_useless_phis (void)
{ {
#ifdef ENABLE_CHECKING #ifdef ENABLE_CHECKING
size_t i; size_t i;
/* There should be no arguments of this PHI which are not virtual, or we /* There should be no arguments which are not virtual, or the
get incorrect results. */ results will be incorrect. */
for (i = 0; i < gimple_phi_num_args (phi); i++) for (i = 0; i < gimple_phi_num_args (phi); i++)
{ {
tree arg = PHI_ARG_DEF (phi, i); tree arg = PHI_ARG_DEF (phi, i);
......
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