diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cfgrtl.c | 16 | ||||
-rw-r--r-- | gcc/rtl.h | 1 |
3 files changed, 5 insertions, 17 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 12dbbeeaed6..581689b43c2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2009-04-16 Kazu Hirata <kazu@codesourcery.com> + * cfgrtl.c (delete_insn_chain_and_edges): Remove. + * rtl.h: Remove the prototype for delete_insn_chain_and_edges. + +2009-04-16 Kazu Hirata <kazu@codesourcery.com> + * tree-iterator.c (tsi_split_statement_list_after, tsi_split_statement_list_before): Remove. * tree-iterator.h: Remove the prototypes for diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index 95d28ac1cfd..80f32e6794f 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -232,22 +232,6 @@ delete_insn_chain (rtx start, rtx finish, bool clear_bb) start = next; } } - -/* Like delete_insn_chain 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 diff --git a/gcc/rtl.h b/gcc/rtl.h index 7c5e69250b2..cd0316018af 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2146,7 +2146,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); |