From d7d086f0864a2564fef32a819e5381d880310d5e Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 7 Oct 2004 22:24:43 +0000 Subject: [PATCH] tree-flow-inline.h (phi_nodes): Remove an unnecessary check for ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR. * tree-flow-inline.h (phi_nodes): Remove an unnecessary check for ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR. From-SVN: r88714 --- gcc/ChangeLog | 5 +++++ gcc/tree-flow-inline.h | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 01f41a23c03..7f83e7ed73f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-10-07 Kazu Hirata + + * tree-flow-inline.h (phi_nodes): Remove an unnecessary check + for ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR. + 2004-10-07 Geoffrey Keating Radar 3813796 diff --git a/gcc/tree-flow-inline.h b/gcc/tree-flow-inline.h index 61ed11268f7..050792176fc 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; }