diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-25 22:31:09 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-25 22:31:09 +0000 |
commit | 04cd62684a41bd3be3ab11d6f7827c054b4feed9 (patch) | |
tree | 66c8df427757e768c2a5be03b5940cc14259184e /gcc/tree-cfg.c | |
parent | b6849408a352a14a35dd90750dfd4414fa04cd1d (diff) | |
download | ppe42-gcc-04cd62684a41bd3be3ab11d6f7827c054b4feed9.tar.gz ppe42-gcc-04cd62684a41bd3be3ab11d6f7827c054b4feed9.zip |
* 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-cfg.c')
-rw-r--r-- | gcc/tree-cfg.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c index bd2555fbaae..2d02f71d5b0 100644 --- a/gcc/tree-cfg.c +++ b/gcc/tree-cfg.c @@ -3130,7 +3130,7 @@ reinstall_phi_args (edge new_edge, edge old_edge) gcc_assert (result == PHI_RESULT (phi)); - add_phi_arg (&phi, arg, new_edge); + add_phi_arg (phi, arg, new_edge); } PENDING_STMT (old_edge) = NULL; @@ -3862,7 +3862,7 @@ tree_make_forwarder_block (edge fallthru) new_phi = create_phi_node (var, bb); SSA_NAME_DEF_STMT (var) = new_phi; SET_PHI_RESULT (phi, make_ssa_name (SSA_NAME_VAR (var), phi)); - add_phi_arg (&new_phi, PHI_RESULT (phi), fallthru); + add_phi_arg (new_phi, PHI_RESULT (phi), fallthru); } /* Ensure that the PHI node chain is in the same order. */ @@ -4040,7 +4040,7 @@ thread_jumps_from_bb (basic_block bb) { arg = phi_arg_from_edge (phi, last); gcc_assert (arg >= 0); - add_phi_arg (&phi, PHI_ARG_DEF (phi, arg), e); + add_phi_arg (phi, PHI_ARG_DEF (phi, arg), e); } } @@ -4566,7 +4566,7 @@ add_phi_args_after_copy_bb (basic_block bb_copy) gcc_assert (PHI_RESULT (phi) == PHI_RESULT (phi_copy)); def = PHI_ARG_DEF_FROM_EDGE (phi, e); - add_phi_arg (&phi_copy, def, e_copy); + add_phi_arg (phi_copy, def, e_copy); } } } @@ -4888,8 +4888,8 @@ tree_duplicate_sese_region (edge entry, edge exit, tree name = ssa_name (ver); phi = create_phi_node (name, exit->dest); - add_phi_arg (&phi, name, exit); - add_phi_arg (&phi, name, exit_copy); + add_phi_arg (phi, name, exit); + add_phi_arg (phi, name, exit_copy); SSA_NAME_DEF_STMT (name) = phi; } |