diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-11-25 00:14:21 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-11-25 00:14:21 +0000 |
commit | be6be25851b6c7271afb86219f18bf9edffebe2e (patch) | |
tree | 6134f019ae1d0a08dab0c159054baed8584ecdcf /gcc/tree-outof-ssa.c | |
parent | a312d1f1821b0554d4e2b44ece9ccd573f638950 (diff) | |
download | gcc-be6be25851b6c7271afb86219f18bf9edffebe2e.zip gcc-be6be25851b6c7271afb86219f18bf9edffebe2e.tar.gz gcc-be6be25851b6c7271afb86219f18bf9edffebe2e.tar.bz2 |
tree-outof-ssa.c (coalesce_abnormal_edges): Use e->dest_idx instead of calling phi_arg_from_edge.
* tree-outof-ssa.c (coalesce_abnormal_edges): Use e->dest_idx
instead of calling phi_arg_from_edge.
From-SVN: r91259
Diffstat (limited to 'gcc/tree-outof-ssa.c')
-rw-r--r-- | gcc/tree-outof-ssa.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/tree-outof-ssa.c b/gcc/tree-outof-ssa.c index 20409d3..621366b 100644 --- a/gcc/tree-outof-ssa.c +++ b/gcc/tree-outof-ssa.c @@ -590,10 +590,7 @@ coalesce_abnormal_edges (var_map map, conflict_graph graph, root_var_p rv) if (x == NO_PARTITION) continue; - y = phi_arg_from_edge (phi, e); - gcc_assert (y != -1); - - tmp = PHI_ARG_DEF (phi, y); + tmp = PHI_ARG_DEF (phi, e->dest_idx); #ifdef ENABLE_CHECKING if (!phi_ssa_name_p (tmp)) { |