From: Per Bothner Date: Thu, 18 Dec 2003 05:41:44 +0000 (-0800) Subject: emit-rtl.c (set_new_first_and_last_label_num): Remove function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9bed9d36e206ceb6a353371bf8d33f1a4491889;p=gcc.git 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 --- 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 + + * 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 * 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);