Commit e5b0e711 by Kazu Hirata Committed by Kazu Hirata

jump.c (next_nondeleted_insn): Remove.

	* jump.c (next_nondeleted_insn): Remove.
	* rtl.h: Remove the prototype for next_nondeleted_insn.

From-SVN: r68453
parent b9ba01a1
2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
* jump.c (next_nondeleted_insn): Remove.
* rtl.h: Remove the prototype for next_nondeleted_insn.
2003-06-24 Roger Sayle <roger@eyesopen.com> 2003-06-24 Roger Sayle <roger@eyesopen.com>
PR optimization/11311 PR optimization/11311
......
...@@ -1835,18 +1835,6 @@ delete_related_insns (insn) ...@@ -1835,18 +1835,6 @@ delete_related_insns (insn)
return next; return next;
} }
/* Advance from INSN till reaching something not deleted
then return that. May return INSN itself. */
rtx
next_nondeleted_insn (insn)
rtx insn;
{
while (INSN_DELETED_P (insn))
insn = NEXT_INSN (insn);
return insn;
}
/* Delete a range of insns from FROM to TO, inclusive. /* Delete a range of insns from FROM to TO, inclusive.
This is for the sake of peephole optimization, so assume This is for the sake of peephole optimization, so assume
that whatever these insns do will still be done by a new that whatever these insns do will still be done by a new
......
...@@ -1567,7 +1567,6 @@ extern const char * insn_file PARAMS ((rtx)); ...@@ -1567,7 +1567,6 @@ extern const char * insn_file PARAMS ((rtx));
extern int prologue_locator, epilogue_locator; extern int prologue_locator, epilogue_locator;
/* In jump.c */ /* In jump.c */
extern rtx next_nondeleted_insn PARAMS ((rtx));
extern enum rtx_code reverse_condition PARAMS ((enum rtx_code)); extern enum rtx_code reverse_condition PARAMS ((enum rtx_code));
extern enum rtx_code reverse_condition_maybe_unordered PARAMS ((enum rtx_code)); extern enum rtx_code reverse_condition_maybe_unordered PARAMS ((enum rtx_code));
extern enum rtx_code swap_condition PARAMS ((enum rtx_code)); extern enum rtx_code swap_condition PARAMS ((enum rtx_code));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment