regs.h (struct reg_info_def): Remove the last_node_uid and changes_mode fields.

* regs.h (struct reg_info_def): Remove the last_node_uid and
	changes_mode fields.
	(REGNO_LAST_NOTE_UID): Don't define.
	* regclass.c (reg_scan_mark_refs): Don't set REGNO_LAST_NOTE_UID.
	* regmove.c (copy_src_to_dest): Likewise.

From-SVN: r88825
This commit is contained in:
Steven Bosscher 2004-10-09 19:19:24 +00:00 committed by Steven Bosscher
parent 673dacbe7f
commit 35ed0a936a
4 changed files with 8 additions and 11 deletions

View file

@ -1,3 +1,11 @@
2004-10-09 Steven Bosscher <stevenb@suse.de>
* regs.h (struct reg_info_def): Remove the last_node_uid and
changes_mode fields.
(REGNO_LAST_NOTE_UID): Don't define.
* regclass.c (reg_scan_mark_refs): Don't set REGNO_LAST_NOTE_UID.
* regmove.c (copy_src_to_dest): Likewise.
2004-10-09 Roger Sayle <roger@eyesopen.com>
PR middle-end/17894

View file

@ -2395,7 +2395,6 @@ reg_scan_mark_refs (rtx x, rtx insn, int note_flag, unsigned int min_regno)
if (regno >= min_regno)
{
REGNO_LAST_NOTE_UID (regno) = INSN_UID (insn);
if (!note_flag)
REGNO_LAST_UID (regno) = INSN_UID (insn);
if (REGNO_FIRST_UID (regno) == 0)

View file

@ -834,9 +834,6 @@ copy_src_to_dest (rtx insn, rtx src, rtx dest, int old_max_uid)
if (REGNO_LAST_UID (src_regno) == insn_uid)
REGNO_LAST_UID (src_regno) = move_uid;
if (REGNO_LAST_NOTE_UID (src_regno) == insn_uid)
REGNO_LAST_NOTE_UID (src_regno) = move_uid;
}
}

View file

@ -50,7 +50,6 @@ typedef struct reg_info_def
{ /* fields set by reg_scan */
int first_uid; /* UID of first insn to use (REG n) */
int last_uid; /* UID of last insn to use (REG n) */
int last_note_uid; /* UID of last note to use (REG n) */
/* fields set by reg_scan & flow_analysis */
int sets; /* # of times (REG n) is set */
@ -62,8 +61,6 @@ typedef struct reg_info_def
int live_length; /* # of instructions (REG n) is live */
int calls_crossed; /* # of calls (REG n) is live across */
int basic_block; /* # of basic blocks (REG n) is used in */
char changes_mode; /* whether (SUBREG (REG n)) exists and
is illegal. */
} reg_info;
extern varray_type reg_n_info;
@ -187,10 +184,6 @@ extern enum machine_mode reg_raw_mode[FIRST_PSEUDO_REGISTER];
#define REGNO_LAST_UID(N) (VARRAY_REG (reg_n_info, N)->last_uid)
/* Similar, but includes insns that mention the reg in their notes. */
#define REGNO_LAST_NOTE_UID(N) (VARRAY_REG (reg_n_info, N)->last_note_uid)
/* List made of EXPR_LIST rtx's which gives pairs of pseudo registers
that have to go in the same hard reg. */
extern rtx regs_may_share;