summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2003-12-18 05:41:44 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>2003-12-18 05:41:44 +0000
commitdab001aa23dfa315f19f767454a710d6d45049aa (patch)
tree3b0611b57227b55cc0ce0e0289009f33e8a4541c
parent733a54ec1ceaf2011f478765d9280105e78facd5 (diff)
downloadgcc-dab001aa23dfa315f19f767454a710d6d45049aa.tar.gz
* emit-rtl.c (set_new_first_and_last_label_num): Remove function.
* rtl.h (set_new_first_and_last_label_num): Remove declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74772 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/emit-rtl.c13
-rw-r--r--gcc/rtl.h1
3 files changed, 6 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ba3bd9d4a7c..8e61be1de83 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-17 Per Bothner <per@bothner.com>
+
+ * emit-rtl.c (set_new_first_and_last_label_num): Remove function.
+ * rtl.h (set_new_first_and_last_label_num): Remove declaration.
+
2003-12-17 Alexandre Oliva <aoliva@redhat.com>
* config/frv/frv.c (frv_ifcvt_modify_insn): Don't leave alone
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index f88ec56b3fc..ea00c39b50d 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -77,7 +77,7 @@ static GTY(()) int label_num = 1;
static int last_label_num;
-/* Value label_num had when set_new_first_and_last_label_number was called.
+/* Value label_num had when set_new_last_label_num was called.
If label_num has not changed since then, last_label_num is valid. */
static int base_label_num;
@@ -2406,17 +2406,6 @@ set_new_first_and_last_insn (rtx first, rtx last)
cur_insn_uid++;
}
-/* Set the range of label numbers found in the current function.
- This is used when belatedly compiling an inline function. */
-
-void
-set_new_first_and_last_label_num (int first, int last)
-{
- base_label_num = label_num;
- first_label_num = first;
- last_label_num = last;
-}
-
/* Set the last label number found in the current function.
This is used when belatedly compiling an inline function. */
diff --git a/gcc/rtl.h b/gcc/rtl.h
index d6e9b9c81e1..71862e5f47a 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2049,7 +2049,6 @@ extern void pop_topmost_sequence (void);
extern int subreg_realpart_p (rtx);
extern void reverse_comparison (rtx);
extern void set_new_first_and_last_insn (rtx, rtx);
-extern void set_new_first_and_last_label_num (int, int);
extern void set_new_last_label_num (int);
extern void unshare_all_rtl_again (rtx);
extern void unshare_all_rtl_in_chain (rtx);