diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-flow-inline.h | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 01f41a2..7f83e7e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-10-07 Kazu Hirata <kazu@cs.umass.edu> + + * tree-flow-inline.h (phi_nodes): Remove an unnecessary check + for ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR. + 2004-10-07 Geoffrey Keating <geoffk@apple.com> Radar 3813796 diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h index 61ed112..0507921 100644 --- a/gcc/tree-flow-inline.h +++ b/gcc/tree-flow-inline.h @@ -363,8 +363,6 @@ bb_ann (basic_block bb) static inline tree phi_nodes (basic_block bb) { - if (bb->index < 0) - return NULL; return bb_ann (bb)->phi_nodes; } |