OSDN Git Service

* regs.h (struct reg_info_def): Remove the last_node_uid and
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Oct 2004 19:19:24 +0000 (19:19 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Oct 2004 19:19:24 +0000 (19:19 +0000)
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88825 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/regclass.c
gcc/regmove.c
gcc/regs.h

index 5d968b1..e138674 100644 (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
index 6d1d975..3e2af72 100644 (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)
index c08a720..7f54559 100644 (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;
     }
 }
 
index 848c306..85d5040 100644 (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;