From eaf0dc0254ab1fafb2a22b12ad336a23eae0197b Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 14 Nov 2004 04:08:11 +0000 Subject: tree-cfg.c, [...]: Replace TREE_CHAIN with PHI_CHAIN where appropriate. * tree-cfg.c, tree-if-conv.c, tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-vectorizer.c: Replace TREE_CHAIN with PHI_CHAIN where appropriate. From-SVN: r90611 --- gcc/tree-vectorizer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/tree-vectorizer.c') diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c index 0c29a34..e1095f5 100644 --- a/gcc/tree-vectorizer.c +++ b/gcc/tree-vectorizer.c @@ -482,7 +482,7 @@ update_phis_for_duplicate_loop (struct loop *loop, for (phi_new = phi_nodes (new_loop->header), phi_old = phi_nodes (loop->header); phi_new && phi_old; - phi_new = TREE_CHAIN (phi_new), phi_old = TREE_CHAIN (phi_old)) + phi_new = PHI_CHAIN (phi_new), phi_old = PHI_CHAIN (phi_old)) { def = PHI_ARG_DEF_FROM_EDGE (phi_old, old_latch); @@ -577,7 +577,7 @@ update_phi_nodes_for_guard (edge guard_true_edge, struct loop * loop) /* Update all phi nodes at the loop exit successor. */ for (phi1 = phi_nodes (EDGE_SUCC (bb, 0)->dest); phi1; - phi1 = TREE_CHAIN (phi1)) + phi1 = PHI_CHAIN (phi1)) { tree old_arg = PHI_ARG_DEF_FROM_EDGE (phi1, EDGE_SUCC (bb, 0)); if (old_arg == phi_arg) -- cgit v1.1