tree-flow-inline.h (phi_nodes): Remove an unnecessary check for ENTRY_BLOCK_PTR and...
authorKazu Hirata <kazu@cs.umass.edu>
Thu, 7 Oct 2004 22:24:43 +0000 (22:24 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 7 Oct 2004 22:24:43 +0000 (22:24 +0000)
* tree-flow-inline.h (phi_nodes): Remove an unnecessary check
for ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR.

From-SVN: r88714

gcc/ChangeLog
gcc/tree-flow-inline.h

index 01f41a2..7f83e7e 100644 (file)
@@ -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
index 61ed112..0507921 100644 (file)
@@ -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;
 }