summaryrefslogtreecommitdiff
path: root/gcc/cfgrtl.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/cfgrtl.c
parent7c45aad5e61c65820606cf8db78bf15d876b2578 (diff)
downloadgcc-b48d0358542ad050257172d48202f6d59c2d5233.tar.gz
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/cfgrtl.c')
-rw-r--r--gcc/cfgrtl.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c
index a31488ef7d5..9de8d127aef 100644
--- a/gcc/cfgrtl.c
+++ b/gcc/cfgrtl.c
@@ -627,9 +627,9 @@ rtl_merge_blocks (basic_block a, basic_block b)
/* Return true when block A and B can be merged. */
-static bool
-rtl_can_merge_blocks (const_basic_block a, const_basic_block b)
+static bool
+rtl_can_merge_blocks (basic_block a, basic_block b)
{
/* If we are partitioning hot/cold basic blocks, we don't want to
mess up unconditional or indirect jumps that cross between hot
@@ -2535,8 +2535,9 @@ cfg_layout_delete_block (basic_block bb)
}
/* Return true when blocks A and B can be safely merged. */
+
static bool
-cfg_layout_can_merge_blocks_p (const_basic_block a, const_basic_block b)
+cfg_layout_can_merge_blocks_p (basic_block a, basic_block b)
{
/* If we are partitioning hot/cold basic blocks, we don't want to
mess up unconditional or indirect jumps that cross between hot
@@ -2692,7 +2693,7 @@ rtl_make_forwarder_block (edge fallthru ATTRIBUTE_UNUSED)
instructions that must stay with the call, 0 otherwise. */
static bool
-rtl_block_ends_with_call_p (const_basic_block bb)
+rtl_block_ends_with_call_p (basic_block bb)
{
rtx insn = BB_END (bb);