diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-08 13:54:41 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-08 13:54:41 +0000 |
commit | 563a127c2d656584ecdd52bfacb4c7e9be266c59 (patch) | |
tree | f672afb273632e5ba2016d698a21cf2e5fcfa318 /gcc/tree-ssa-loop-manip.c | |
parent | a8146e4f049c4eed26bdfd10b766058771091535 (diff) | |
download | gcc-563a127c2d656584ecdd52bfacb4c7e9be266c59.tar.gz |
* tree-cfg.c, tree-if-conv.c, tree-into-ssa.c,
tree-scalar-evolution.c, tree-ssa-loop-im.c,
tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa.c,
tree-vectorizer.c: Replace TREE_CHAIN with PHI_CHAIN where
appropriate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90262 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-loop-manip.c')
-rw-r--r-- | gcc/tree-ssa-loop-manip.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-ssa-loop-manip.c b/gcc/tree-ssa-loop-manip.c index 17267b2d909..56fa002c5a7 100644 --- a/gcc/tree-ssa-loop-manip.c +++ b/gcc/tree-ssa-loop-manip.c @@ -272,7 +272,7 @@ find_uses_to_rename (bitmap *use_blocks) FOR_EACH_BB (bb) { - for (phi = phi_nodes (bb); phi; phi = TREE_CHAIN (phi)) + for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi)) for (i = 0; i < (unsigned) PHI_NUM_ARGS (phi); i++) find_uses_to_rename_use (PHI_ARG_EDGE (phi, i)->src, PHI_ARG_DEF (phi, i), use_blocks); @@ -383,7 +383,7 @@ verify_loop_closed_ssa (void) FOR_EACH_BB (bb) { - for (phi = phi_nodes (bb); phi; phi = TREE_CHAIN (phi)) + for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi)) for (i = 0; i < (unsigned) PHI_NUM_ARGS (phi); i++) check_loop_closed_ssa_use (PHI_ARG_EDGE (phi, i)->src, PHI_ARG_DEF (phi, i)); @@ -404,7 +404,7 @@ split_loop_exit_edge (edge exit) tree phi, new_phi, new_name, name; use_operand_p op_p; - for (phi = phi_nodes (dest); phi; phi = TREE_CHAIN (phi)) + for (phi = phi_nodes (dest); phi; phi = PHI_CHAIN (phi)) { op_p = PHI_ARG_DEF_PTR_FROM_EDGE (phi, EDGE_SUCC (bb, 0)); @@ -567,7 +567,7 @@ set_phi_def_stmts (basic_block bb) { tree phi; - for (phi = phi_nodes (bb); phi; phi = TREE_CHAIN (phi)) + for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi)) SSA_NAME_DEF_STMT (PHI_RESULT (phi)) = phi; } |