summaryrefslogtreecommitdiff
path: root/gcc/tree-into-ssa.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-25 22:31:09 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-25 22:31:09 +0000
commit04cd62684a41bd3be3ab11d6f7827c054b4feed9 (patch)
tree66c8df427757e768c2a5be03b5940cc14259184e /gcc/tree-into-ssa.c
parentb6849408a352a14a35dd90750dfd4414fa04cd1d (diff)
downloadgcc-04cd62684a41bd3be3ab11d6f7827c054b4feed9.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91307 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-into-ssa.c')
-rw-r--r--gcc/tree-into-ssa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c
index 19711851832..f79799ee372 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);
}
}