diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-26 15:16:45 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-26 15:16:45 +0000 |
commit | d447e8669548344ce604fb307479acb7e7da4d39 (patch) | |
tree | 691997a71d38ce09adc119a49e9d096ec3b9cd78 /gcc/cfgcleanup.c | |
parent | 49e5b7e86b335f72fe60bdc578efd3bc1ffc5d5d (diff) | |
download | gcc-d447e8669548344ce604fb307479acb7e7da4d39.tar.gz |
* basic-block.h: Remove the prototype for merge_seq_blocks.
* cfgcleanup.c (merge_seq_blocks): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125094 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r-- | gcc/cfgcleanup.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c index d2738435804..54d2321d60e 100644 --- a/gcc/cfgcleanup.c +++ b/gcc/cfgcleanup.c @@ -2166,31 +2166,6 @@ delete_unreachable_blocks (void) tidy_fallthru_edges (); return changed; } - -/* Merges sequential blocks if possible. */ - -bool -merge_seq_blocks (void) -{ - basic_block bb; - bool changed = false; - - for (bb = ENTRY_BLOCK_PTR->next_bb; bb != EXIT_BLOCK_PTR; ) - { - if (single_succ_p (bb) - && can_merge_blocks_p (bb, single_succ (bb))) - { - /* Merge the blocks and retry. */ - merge_blocks (bb, single_succ (bb)); - changed = true; - continue; - } - - bb = bb->next_bb; - } - - return changed; -} /* Tidy the CFG by deleting unreachable code and whatnot. */ |