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-cfg.c | |
parent | a8146e4f049c4eed26bdfd10b766058771091535 (diff) | |
download | ppe42-gcc-563a127c2d656584ecdd52bfacb4c7e9be266c59.tar.gz ppe42-gcc-563a127c2d656584ecdd52bfacb4c7e9be266c59.zip |
* 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-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index 9e0aa165676..0e6b55dabcb 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -4279,7 +4279,7 @@ tree_duplicate_bb (basic_block bb) /* First copy the phi nodes. We do not copy phi node arguments here, since the edges are not ready yet. Keep the chain of phi nodes in the same order, so that we can add them later. */ - for (phi = phi_nodes (bb); phi; phi = TREE_CHAIN (phi)) + for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi)) { mark_for_rewrite (PHI_RESULT (phi)); create_phi_node (PHI_RESULT (phi), new_bb); @@ -4501,7 +4501,7 @@ rewrite_to_new_ssa_names_bb (basic_block bb, htab_t map) if (e->flags & EDGE_ABNORMAL) break; - for (phi = phi_nodes (bb); phi; phi = TREE_CHAIN (phi)) + for (phi = phi_nodes (bb); phi; phi = PHI_CHAIN (phi)) { rewrite_to_new_ssa_names_def (PHI_RESULT_PTR (phi), phi, map); if (e) @@ -4546,7 +4546,7 @@ rewrite_to_new_ssa_names_bb (basic_block bb, htab_t map) } FOR_EACH_EDGE (e, ei, bb->succs) - for (phi = phi_nodes (e->dest); phi; phi = TREE_CHAIN (phi)) + for (phi = phi_nodes (e->dest); phi; phi = PHI_CHAIN (phi)) { rewrite_to_new_ssa_names_use (PHI_ARG_DEF_PTR_FROM_EDGE (phi, e), map); |