Commit cb9444a7 by Kazu Hirata Committed by Kazu Hirata

tree-cfg.c (last_stmt_ptr): Remove.

	* tree-cfg.c (last_stmt_ptr): Remove.
	* tree-flow.h: Remove the prototype for last_stmt_ptr.

From-SVN: r120266
parent c6d86fce
2006-12-29 Kazu Hirata <kazu@codesourcery.com>
* tree-cfg.c (last_stmt_ptr): Remove.
* tree-flow.h: Remove the prototype for last_stmt_ptr.
2006-12-29 Ian Lance Taylor <iant@google.com> 2006-12-29 Ian Lance Taylor <iant@google.com>
* c-common.c (c_define_builtins): New static function broken out * c-common.c (c_define_builtins): New static function broken out
......
...@@ -2686,16 +2686,6 @@ last_stmt (basic_block bb) ...@@ -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 /* Return the last statement of an otherwise empty block. Return NULL
if the block is totally empty, or if it contains more than one if the block is totally empty, or if it contains more than one
statement. */ statement. */
......
...@@ -637,7 +637,6 @@ extern void cleanup_dead_labels (void); ...@@ -637,7 +637,6 @@ extern void cleanup_dead_labels (void);
extern void group_case_labels (void); extern void group_case_labels (void);
extern tree first_stmt (basic_block); extern tree first_stmt (basic_block);
extern tree last_stmt (basic_block); extern tree last_stmt (basic_block);
extern tree *last_stmt_ptr (basic_block);
extern tree last_and_only_stmt (basic_block); extern tree last_and_only_stmt (basic_block);
extern edge find_taken_edge (basic_block, tree); extern edge find_taken_edge (basic_block, tree);
extern basic_block label_to_block_fn (struct function *, tree); extern basic_block label_to_block_fn (struct function *, tree);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment