summaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-29 16:05:57 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2006-12-29 16:05:57 +0000
commit61e2e4a0f62b6ce9903ccd8c53a62130ce094afe (patch)
tree3e86202b1ae26304b842bac962d9fb3368ecc66b /gcc/tree-cfg.c
parentdce227123e92330dbcd6a35a8641d02867cbaa7c (diff)
downloadgcc-61e2e4a0f62b6ce9903ccd8c53a62130ce094afe.tar.gz
* tree-cfg.c (last_stmt_ptr): Remove.
* tree-flow.h: Remove the prototype for last_stmt_ptr. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120266 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r--gcc/tree-cfg.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index bdb1bce2323..51c0d266aa0 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -2686,16 +2686,6 @@ last_stmt (basic_block bb)
}
-/* Return a pointer to the last statement in block BB. */
-
-tree *
-last_stmt_ptr (basic_block bb)
-{
- block_stmt_iterator last = bsi_last (bb);
- return !bsi_end_p (last) ? bsi_stmt_ptr (last) : NULL;
-}
-
-
/* Return the last statement of an otherwise empty block. Return NULL
if the block is totally empty, or if it contains more than one
statement. */