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-into-ssa.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-into-ssa.c')
-rw-r--r-- | gcc/tree-into-ssa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c index 1971185..f79799e 100644 --- a/gcc/tree-into-ssa.c +++ b/gcc/tree-into-ssa.c @@ -797,7 +797,7 @@ rewrite_add_phi_arguments (struct dom_walk_data *walk_data ATTRIBUTE_UNUSED, break; currdef = get_reaching_def (SSA_NAME_VAR (PHI_RESULT (phi))); - add_phi_arg (&phi, currdef, e); + add_phi_arg (phi, currdef, e); } } } @@ -1071,7 +1071,7 @@ insert_phi_nodes_for (tree var, bitmap *dfs, VEC(basic_block) *work_stack) { edge_iterator ei; FOR_EACH_EDGE (e, ei, bb->preds) - add_phi_arg (&phi, var, e); + add_phi_arg (phi, var, e); } } |