OSDN Git Service

* jump.c (next_nondeleted_insn): Remove.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Jun 2003 03:45:13 +0000 (03:45 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 25 Jun 2003 03:45:13 +0000 (03:45 +0000)
* 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
gcc/jump.c
gcc/rtl.h

index e0bfc15..f30e835 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
        PR optimization/11311
index a7d7dc2..630524b 100644 (file)
@@ -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;
-}
 \f
 /* Delete a range of insns from FROM to TO, inclusive.
    This is for the sake of peephole optimization, so assume
index d71a6ae..98be2d0 100644 (file)
--- 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));