aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfghooks.c
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2007-09-07 12:38:46 -0400
committerDiego Novillo <dnovillo@gcc.gnu.org>2007-09-07 12:38:46 -0400
commitb48d0358542ad050257172d48202f6d59c2d5233 (patch)
tree64b3c5dbf6e7dd437d93c22279822b894ac0ccce /gcc/cfghooks.c
parent7c45aad5e61c65820606cf8db78bf15d876b2578 (diff)
downloadgcc-b48d0358542ad050257172d48202f6d59c2d5233.zip
gcc-b48d0358542ad050257172d48202f6d59c2d5233.tar.gz
gcc-b48d0358542ad050257172d48202f6d59c2d5233.tar.bz2
tree-flow.h (const_block_stmt_iterator): Remove.
* tree-flow.h (const_block_stmt_iterator): Remove. Update all users to use block_stmt_iterator. * tree-iterator.h (const_tree_stmt_iterator): Remove. Update all users to use tree_stmt_iterator. From-SVN: r128246
Diffstat (limited to 'gcc/cfghooks.c')
-rw-r--r--gcc/cfghooks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cfghooks.c b/gcc/cfghooks.c
index 921bf6f..f5fb18f 100644
--- a/gcc/cfghooks.c
+++ b/gcc/cfghooks.c
@@ -616,7 +616,7 @@ create_empty_bb (basic_block after)
/* Checks whether we may merge blocks BB1 and BB2. */
bool
-can_merge_blocks_p (const_basic_block bb1, const_basic_block bb2)
+can_merge_blocks_p (basic_block bb1, basic_block bb2)
{
bool ret;
@@ -938,7 +938,7 @@ duplicate_block (basic_block bb, edge e, basic_block after)
instructions that must stay with the call, 0 otherwise. */
bool
-block_ends_with_call_p (const_basic_block bb)
+block_ends_with_call_p (basic_block bb)
{
if (!cfg_hooks->block_ends_with_call_p)
internal_error ("%s does not support block_ends_with_call_p", cfg_hooks->name);