diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-11-25 22:31:09 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-11-25 22:31:09 +0000 |
commit | d2e398dfc83188c4a94e191d51689ab56e0991a0 (patch) | |
tree | 66c8df427757e768c2a5be03b5940cc14259184e /gcc/tree-ssa-loop-manip.c | |
parent | 9f8e747867f0b4824c02c7745491b8ef2110b814 (diff) | |
download | gcc-d2e398dfc83188c4a94e191d51689ab56e0991a0.zip gcc-d2e398dfc83188c4a94e191d51689ab56e0991a0.tar.gz gcc-d2e398dfc83188c4a94e191d51689ab56e0991a0.tar.bz2 |
tree-phinodes.c (add_phi_arg): Take "tree" instead of "tree *" as the first argument.
* tree-phinodes.c (add_phi_arg): Take "tree" instead of
"tree *" as the first argument.
* tree-flow.h: Update the prototype of add_phi_arg.
* lambda-code.c, tree-cfg.c, tree-into-ssa.c,
tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa-pre.c,
tree-ssa-threadupdate.c, tree-ssa.c, tree-tailcall.c,
tree-vectorizer.c: Update all call sites of add_phi_arg.
From-SVN: r91307
Diffstat (limited to 'gcc/tree-ssa-loop-manip.c')
-rw-r--r-- | gcc/tree-ssa-loop-manip.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/tree-ssa-loop-manip.c b/gcc/tree-ssa-loop-manip.c index 3a87849..01c75c8 100644 --- a/gcc/tree-ssa-loop-manip.c +++ b/gcc/tree-ssa-loop-manip.c @@ -110,8 +110,8 @@ create_iv (tree base, tree step, tree var, struct loop *loop, stmt = create_phi_node (vb, loop->header); SSA_NAME_DEF_STMT (vb) = stmt; - add_phi_arg (&stmt, initial, loop_preheader_edge (loop)); - add_phi_arg (&stmt, va, loop_latch_edge (loop)); + add_phi_arg (stmt, initial, loop_preheader_edge (loop)); + add_phi_arg (stmt, va, loop_latch_edge (loop)); } /* Add exit phis for the USE on EXIT. */ @@ -140,7 +140,7 @@ add_exit_phis_edge (basic_block exit, tree use) phi = create_phi_node (use, exit); FOR_EACH_EDGE (e, ei, exit->preds) - add_phi_arg (&phi, use, e); + add_phi_arg (phi, use, e); SSA_NAME_DEF_STMT (use) = def_stmt; } @@ -420,7 +420,7 @@ split_loop_exit_edge (edge exit) new_name = duplicate_ssa_name (name, NULL); new_phi = create_phi_node (new_name, bb); SSA_NAME_DEF_STMT (new_name) = new_phi; - add_phi_arg (&new_phi, name, exit); + add_phi_arg (new_phi, name, exit); SET_USE (op_p, new_name); } } @@ -672,7 +672,7 @@ lv_adjust_loop_header_phi (basic_block first, basic_block second, if (e2) { tree def = PHI_ARG_DEF (phi2, e2->dest_idx); - add_phi_arg (&phi1, def, e); + add_phi_arg (phi1, def, e); } } } |