summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2003-06-25 03:45:13 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2003-06-25 03:45:13 +0000
commite5b0e711e87da60282d32ee364bfc9ca77fa6360 (patch)
treec2b021a4a8de95063140b929ef51eba3db07fa55 /gcc
parentb9ba01a11f30733eb45554f8820d4084724d308c (diff)
downloadgcc-e5b0e711e87da60282d32ee364bfc9ca77fa6360.tar.gz
jump.c (next_nondeleted_insn): Remove.
* jump.c (next_nondeleted_insn): Remove. * rtl.h: Remove the prototype for next_nondeleted_insn. From-SVN: r68453
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/jump.c12
-rw-r--r--gcc/rtl.h1
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 <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
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));