diff options
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/cfgrtl.c | 15 | ||||
-rw-r--r-- | gcc/rtl.h | 1 |
3 files changed, 3 insertions, 16 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 81bb747..9167c2b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -8,6 +8,9 @@ typos. Follow spelling conventions. * doc/invoke.texi, doc/rtl.texi: Fix typos. + * cfgrtl.c (delete_insn_chain_and_edges): Remove. + * rtl.h: Remove the prototype for delete_insn_chain_and_edges. + 2007-07-06 Daniel Berlin <dberlin@dberlin.org> Fix PR tree-optimization/23488 diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index d7921e3..7e8ce23 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 @@ -2054,7 +2054,6 @@ extern void emit_insn_at_entry (rtx); extern void delete_insn_chain (rtx, rtx, bool); extern rtx unlink_insn_chain (rtx, rtx); extern rtx delete_insn_and_edges (rtx); -extern void delete_insn_chain_and_edges (rtx, rtx); extern rtx gen_lowpart_SUBREG (enum machine_mode, rtx); extern rtx gen_const_mem (enum machine_mode, rtx); extern rtx gen_frame_mem (enum machine_mode, rtx); |