diff options
| author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-25 00:14:21 +0000 |
|---|---|---|
| committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-25 00:14:21 +0000 |
| commit | db45e733ffe66325ab7e5fd5a32b073d493a9199 (patch) | |
| tree | 6134f019ae1d0a08dab0c159054baed8584ecdcf | |
| parent | 363ac35befdc2fbe6dd73a089905748a70047ee6 (diff) | |
| download | ppe42-gcc-db45e733ffe66325ab7e5fd5a32b073d493a9199.tar.gz ppe42-gcc-db45e733ffe66325ab7e5fd5a32b073d493a9199.zip | |
* tree-outof-ssa.c (coalesce_abnormal_edges): Use e->dest_idx
instead of calling phi_arg_from_edge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91259 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/tree-outof-ssa.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 28386135d3b..ddbcfca99ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-11-24 Kazu Hirata <kazu@cs.umass.edu> + + * tree-outof-ssa.c (coalesce_abnormal_edges): Use e->dest_idx + instead of calling phi_arg_from_edge. + 2004-11-24 Ben Elliston <bje@au.ibm.com> * config/i386/i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): Remove. diff --git a/gcc/tree-outof-ssa.c b/gcc/tree-outof-ssa.c index 20409d39e4b..621366b85ae 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)) { |

