aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-threadupdate.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-25 22:31:09 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-25 22:31:09 +0000
commitd2e398dfc83188c4a94e191d51689ab56e0991a0 (patch)
tree66c8df427757e768c2a5be03b5940cc14259184e /gcc/tree-ssa-threadupdate.c
parent9f8e747867f0b4824c02c7745491b8ef2110b814 (diff)
downloadgcc-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-threadupdate.c')
-rw-r--r--gcc/tree-ssa-threadupdate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c
index f10dc3d..d5272d5 100644
--- a/gcc/tree-ssa-threadupdate.c
+++ b/gcc/tree-ssa-threadupdate.c
@@ -299,7 +299,7 @@ create_edge_and_update_destination_phis (struct redirection_data *rd)
for (phi = phi_nodes (e->dest); phi; phi = PHI_CHAIN (phi))
{
int indx = phi_arg_from_edge (phi, rd->outgoing_edge);
- add_phi_arg (&phi, PHI_ARG_DEF_TREE (phi, indx), e);
+ add_phi_arg (phi, PHI_ARG_DEF_TREE (phi, indx), e);
}
}