summaryrefslogtreecommitdiff
path: root/gcc/tree-flow-inline.h
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-07 22:24:43 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-07 22:24:43 +0000
commitf57df4299bbb7431e387840884bbb72fd7d1cc22 (patch)
treea75133fcf9c77a3efe88cf53dfd27bee23414033 /gcc/tree-flow-inline.h
parent30a545835e4591e683034d8115cf32bf41036601 (diff)
downloadgcc-f57df4299bbb7431e387840884bbb72fd7d1cc22.tar.gz
* tree-flow-inline.h (phi_nodes): Remove an unnecessary check
for ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88714 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-flow-inline.h')
-rw-r--r--gcc/tree-flow-inline.h2
1 files changed, 0 insertions, 2 deletions
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;
}