diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-07 14:20:02 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-07 14:20:02 +0000 |
commit | 812779b7ad2217d9984988fb44619b7f6beacccb (patch) | |
tree | d295a10d32c6f75bed6b6edc0fbaead9434f891c /gcc/cfgrtl.c | |
parent | a05272180f810e0f44c2ff3448617fb707565c42 (diff) | |
download | gcc-812779b7ad2217d9984988fb44619b7f6beacccb.tar.gz |
* cfgrtl.c (delete_insn_chain_and_edges): Remove.
* rtl.h: Remove the prototype for delete_insn_chain_and_edges.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126441 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r-- | gcc/cfgrtl.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index d7921e3df44..7e8ce23ef49 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -224,21 +224,6 @@ delete_insn_chain (rtx start, rtx finish, bool clear_bb) start = next; } } - -/* Like delete_insn but also purge dead edges from BB. */ -void -delete_insn_chain_and_edges (rtx first, rtx last) -{ - bool purge = false; - - if (INSN_P (last) - && BLOCK_FOR_INSN (last) - && BB_END (BLOCK_FOR_INSN (last)) == last) - purge = true; - delete_insn_chain (first, last, false); - if (purge) - purge_dead_edges (BLOCK_FOR_INSN (last)); -} /* Create a new basic block consisting of the instructions between HEAD and END inclusive. This function is designed to allow fast BB construction - reuses |