aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>2003-12-17 21:41:44 -0800
committerPer Bothner <bothner@gcc.gnu.org>2003-12-17 21:41:44 -0800
commitf9bed9d36e206ceb6a353371bf8d33f1a4491889 (patch)
tree3b0611b57227b55cc0ce0e0289009f33e8a4541c
parent5da1fd3dc2a76aede33fed347d9a6bdca4a378ed (diff)
downloadgcc-f9bed9d36e206ceb6a353371bf8d33f1a4491889.zip
gcc-f9bed9d36e206ceb6a353371bf8d33f1a4491889.tar.gz
gcc-f9bed9d36e206ceb6a353371bf8d33f1a4491889.tar.bz2
emit-rtl.c (set_new_first_and_last_label_num): Remove function.
* emit-rtl.c (set_new_first_and_last_label_num): Remove function. * rtl.h (set_new_first_and_last_label_num): Remove declaration. From-SVN: r74772
-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 ba3bd9d..8e61be1 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 f88ec56..ea00c39 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 d6e9b9c..71862e5 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);