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-tailcall.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-tailcall.c')
-rw-r--r-- | gcc/tree-tailcall.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/tree-tailcall.c b/gcc/tree-tailcall.c index 00fdea3..5c5e09c 100644 --- a/gcc/tree-tailcall.c +++ b/gcc/tree-tailcall.c @@ -589,7 +589,7 @@ adjust_accumulator_values (block_stmt_iterator bsi, tree m, tree a, edge back) if (PHI_RESULT (phi) == a_acc) break; - add_phi_arg (&phi, a_acc_arg, back); + add_phi_arg (phi, a_acc_arg, back); } if (m_acc) @@ -598,7 +598,7 @@ adjust_accumulator_values (block_stmt_iterator bsi, tree m, tree a, edge back) if (PHI_RESULT (phi) == m_acc) break; - add_phi_arg (&phi, m_acc_arg, back); + add_phi_arg (phi, m_acc_arg, back); } } @@ -736,7 +736,7 @@ eliminate_tail_call (struct tailcall *t) if (!phi) continue; - add_phi_arg (&phi, TREE_VALUE (args), e); + add_phi_arg (phi, TREE_VALUE (args), e); } /* Add phi nodes for the call clobbered variables. */ @@ -766,7 +766,7 @@ eliminate_tail_call (struct tailcall *t) var_ann (param)->default_def = new_name; phi = create_phi_node (name, first); SSA_NAME_DEF_STMT (name) = phi; - add_phi_arg (&phi, new_name, EDGE_SUCC (ENTRY_BLOCK_PTR, 0)); + add_phi_arg (phi, new_name, EDGE_SUCC (ENTRY_BLOCK_PTR, 0)); /* For all calls the same set of variables should be clobbered. This means that there always should be the appropriate phi node except @@ -774,7 +774,7 @@ eliminate_tail_call (struct tailcall *t) gcc_assert (EDGE_COUNT (first->preds) <= 2); } - add_phi_arg (&phi, V_MAY_DEF_OP (v_may_defs, i), e); + add_phi_arg (phi, V_MAY_DEF_OP (v_may_defs, i), e); } /* Update the values of accumulators. */ @@ -884,7 +884,7 @@ tree_optimize_tail_calls_1 (bool opt_tailcalls) var_ann (param)->default_def = new_name; phi = create_phi_node (name, first); SSA_NAME_DEF_STMT (name) = phi; - add_phi_arg (&phi, new_name, EDGE_PRED (first, 0)); + add_phi_arg (phi, new_name, EDGE_PRED (first, 0)); } phis_constructed = true; } @@ -897,7 +897,7 @@ tree_optimize_tail_calls_1 (bool opt_tailcalls) add_referenced_tmp_var (tmp); phi = create_phi_node (tmp, first); - add_phi_arg (&phi, + add_phi_arg (phi, /* RET_TYPE can be a float when -ffast-maths is enabled. */ fold_convert (ret_type, integer_zero_node), @@ -913,7 +913,7 @@ tree_optimize_tail_calls_1 (bool opt_tailcalls) add_referenced_tmp_var (tmp); phi = create_phi_node (tmp, first); - add_phi_arg (&phi, + add_phi_arg (phi, /* RET_TYPE can be a float when -ffast-maths is enabled. */ fold_convert (ret_type, integer_one_node), |