diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-02-19 10:59:44 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-02-19 10:59:44 +0000 |
commit | c59102b4ae4423568d8eaba2e7d8c665c5aeb5af (patch) | |
tree | d6b4275d33fe7968e806f5b1a4cb17ec447268df /gcc | |
parent | 3ad17f7bb5f47201b858f83476ded95672d57a76 (diff) | |
download | gcc-c59102b4ae4423568d8eaba2e7d8c665c5aeb5af.zip gcc-c59102b4ae4423568d8eaba2e7d8c665c5aeb5af.tar.gz gcc-c59102b4ae4423568d8eaba2e7d8c665c5aeb5af.tar.bz2 |
emit-rtl.c (subreg_realpart_p): Remove.
* emit-rtl.c (subreg_realpart_p): Remove.
(reorder_insns_with_line_notes): Likewise.
(end_full_sequence): Likewise.
* rtl.h: Remove the prototype for the above functions.
From-SVN: r78092
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/emit-rtl.c | 47 | ||||
-rw-r--r-- | gcc/rtl.h | 3 |
3 files changed, 7 insertions, 50 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c6675c9..2c3c558 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,12 @@ 2004-02-19 Kazu Hirata <kazu@cs.umass.edu> + * emit-rtl.c (subreg_realpart_p): Remove. + (reorder_insns_with_line_notes): Likewise. + (end_full_sequence): Likewise. + * rtl.h: Remove the prototype for the above functions. + +2004-02-19 Kazu Hirata <kazu@cs.umass.edu> + * config/arc/arc.h, config/arm/arm.h, config/frv/frv.h, config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h, config/iq2000/iq2000.h, config/m32r/m32r.h, diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 2a14287..6274aed 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -1112,21 +1112,6 @@ gen_imagpart (enum machine_mode mode, rtx x) else return gen_highpart (mode, x); } - -/* Return 1 iff X, assumed to be a SUBREG, - refers to the real part of the complex value in its containing reg. - Complex values are always stored with the real part in the first word, - regardless of WORDS_BIG_ENDIAN. */ - -int -subreg_realpart_p (rtx x) -{ - if (GET_CODE (x) != SUBREG) - abort (); - - return ((unsigned int) SUBREG_BYTE (x) - < (unsigned int) GET_MODE_UNIT_SIZE (GET_MODE (SUBREG_REG (x)))); -} /* Assuming that X is an rtx (e.g., MEM, REG or SUBREG) for a value, return an rtx (MEM, SUBREG, or CONST_INT) that refers to the @@ -3755,27 +3740,6 @@ find_line_note (rtx insn) return insn; } -/* Like reorder_insns, but inserts line notes to preserve the line numbers - of the moved insns when debugging. This may insert a note between AFTER - and FROM, and another one after TO. */ - -void -reorder_insns_with_line_notes (rtx from, rtx to, rtx after) -{ - rtx from_line = find_line_note (from); - rtx after_line = find_line_note (after); - - reorder_insns (from, to, after); - - if (from_line == after_line) - return; - - if (from_line) - emit_note_copy_after (from_line, after); - if (after_line) - emit_note_copy_after (after_line, to); -} - /* Remove unnecessary notes from the instruction stream. */ void @@ -4904,17 +4868,6 @@ end_sequence (void) free_sequence_stack = tem; } -/* This works like end_sequence, but records the old sequence in FIRST - and LAST. */ - -void -end_full_sequence (rtx *first, rtx *last) -{ - *first = first_insn; - *last = last_insn; - end_sequence (); -} - /* Return 1 if currently emitting into a sequence. */ int @@ -1518,7 +1518,6 @@ extern void start_sequence (void); extern void push_to_sequence (rtx); extern void end_sequence (void); extern void push_to_full_sequence (rtx, rtx); -extern void end_full_sequence (rtx*, rtx*); extern rtx immed_double_const (HOST_WIDE_INT, HOST_WIDE_INT, enum machine_mode); @@ -2071,7 +2070,6 @@ extern void init_emit (void); extern void init_emit_once (int); extern void push_topmost_sequence (void); 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_last_label_num (int); @@ -2085,7 +2083,6 @@ extern void add_insn (rtx); extern void add_insn_before (rtx, rtx); extern void add_insn_after (rtx, rtx); extern void remove_insn (rtx); -extern void reorder_insns_with_line_notes (rtx, rtx, rtx); extern void emit_insn_after_with_line_notes (rtx, rtx, rtx); extern enum rtx_code classify_insn (rtx); extern rtx emit (rtx); |