mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 10:50:51 +08:00
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
This commit is contained in:
parent
b172d06386
commit
f57597d9d0
@ -1,3 +1,8 @@
|
||||
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,
|
||||
|
16
gcc/cfgrtl.c
16
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user