diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-24 20:47:43 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-24 20:47:43 +0000 |
commit | 77ae8b0f8f27f3337b5c96ae039fa46f08aba19c (patch) | |
tree | 15c9cc34f3a169e8b5913e2a149242fb5c4879f2 /gcc/tree-ssa-threadupdate.c | |
parent | 420091c211e37592fa99768a9a95ddef25e3bbd5 (diff) | |
download | gcc-77ae8b0f8f27f3337b5c96ae039fa46f08aba19c.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94183 138bc75d-0d04-0410-961f-82ee72b054a4
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 d5272d53374..92436a92ff7 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); } } |