summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-25 03:45:13 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-25 03:45:13 +0000
commit6ff35acf2841af5995b23b818610d33386609fc3 (patch)
treec2b021a4a8de95063140b929ef51eba3db07fa55 /gcc
parent6881dbab44d877c766906ec58ab30c8af89d2380 (diff)
downloadgcc-6ff35acf2841af5995b23b818610d33386609fc3.tar.gz
* 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
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));