diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-01-24 20:47:43 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-01-24 20:47:43 +0000 |
commit | 3a2f1f06651ace284325fa449acf5babffd91a3e (patch) | |
tree | 15c9cc34f3a169e8b5913e2a149242fb5c4879f2 /gcc/tree-ssa-threadupdate.c | |
parent | 2a4d06261820a8fa78728d40ea51ba4658b6d914 (diff) | |
download | gcc-3a2f1f06651ace284325fa449acf5babffd91a3e.zip gcc-3a2f1f06651ace284325fa449acf5babffd91a3e.tar.gz gcc-3a2f1f06651ace284325fa449acf5babffd91a3e.tar.bz2 |
tree-flow-inline.h (phi_arg_from_edge): Remove.
* tree-flow-inline.h (phi_arg_from_edge): Remove.
* tree-flow.h: Remove the corresponding prototype.
* tree-ssa-operands.h, tree-ssa-threadupdate.c, tree-ssa.c,
tree-vectorizer.c: Use dest_idx instead of phi_arg_from_edge.
From-SVN: r94183
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
-rw-r--r-- | gcc/tree-ssa-threadupdate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c index d5272d5..92436a9 100644 --- a/gcc/tree-ssa-threadupdate.c +++ b/gcc/tree-ssa-threadupdate.c @@ -298,7 +298,7 @@ create_edge_and_update_destination_phis (struct redirection_data *rd) associated with the outgoing edge stored in RD. */ for (phi = phi_nodes (e->dest); phi; phi = PHI_CHAIN (phi)) { - int indx = phi_arg_from_edge (phi, rd->outgoing_edge); + int indx = rd->outgoing_edge->dest_idx; add_phi_arg (phi, PHI_ARG_DEF_TREE (phi, indx), e); } } |