diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2009-04-16 18:51:51 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2009-04-16 18:51:51 +0000 |
commit | f57597d9d09c55356b77b73bc6fe3f950d50ad7f (patch) | |
tree | 9687b421cb20b272828941f9764cb3819cd1644c | |
parent | b172d0638613743aebe6900eda89e04d993bd664 (diff) | |
download | gcc-f57597d9d09c55356b77b73bc6fe3f950d50ad7f.zip gcc-f57597d9d09c55356b77b73bc6fe3f950d50ad7f.tar.gz gcc-f57597d9d09c55356b77b73bc6fe3f950d50ad7f.tar.bz2 |
cfgrtl.c (delete_insn_chain_and_edges): Remove.
* cfgrtl.c (delete_insn_chain_and_edges): Remove.
* rtl.h: Remove the prototype for delete_insn_chain_and_edges.
From-SVN: r146215
-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 12dbbee..581689b 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 95d28ac..80f32e6 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 @@ -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); |