From 6ff35acf2841af5995b23b818610d33386609fc3 Mon Sep 17 00:00:00 2001 From: kazu Date: Wed, 25 Jun 2003 03:45:13 +0000 Subject: [PATCH] * jump.c (next_nondeleted_insn): Remove. * rtl.h: Remove the prototype for next_nondeleted_insn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68453 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/jump.c | 12 ------------ gcc/rtl.h | 1 - 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e0bfc15586a..f30e83542c9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-06-24 Kazu Hirata + + * jump.c (next_nondeleted_insn): Remove. + * rtl.h: Remove the prototype for next_nondeleted_insn. + 2003-06-24 Roger Sayle PR optimization/11311 diff --git a/gcc/jump.c b/gcc/jump.c index a7d7dc21c7e..630524bb356 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -1834,18 +1834,6 @@ delete_related_insns (insn) 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. This is for the sake of peephole optimization, so assume diff --git a/gcc/rtl.h b/gcc/rtl.h index d71a6ae8a82..98be2d0565d 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -1567,7 +1567,6 @@ extern const char * insn_file PARAMS ((rtx)); extern int prologue_locator, epilogue_locator; /* 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_maybe_unordered PARAMS ((enum rtx_code)); extern enum rtx_code swap_condition PARAMS ((enum rtx_code)); -- 2.11.0