]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
regs.h (struct reg_info_def): Remove the last_node_uid and changes_mode fields.
authorSteven Bosscher <stevenb@suse.de>
Sat, 9 Oct 2004 19:19:24 +0000 (19:19 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Sat, 9 Oct 2004 19:19:24 +0000 (19:19 +0000)
* 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

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

index 5d968b14c704bf305ef3e752e87ab29f6008aa44..e13867424122b14ef3b332fa66ea392e25d6aab3 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 6d1d975f093bfc893f4a236598aafb8d7800a733..3e2af72ba897853bf1685a8bf8d3e66fa69d0c37 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 c08a72058b336c6a24f189e410fc0dfc5431e630..7f5455977f966df2edeb7a96dc469d0544eb7912 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 848c306a3ff35f97502bbc1f506f46de2a05974d..85d50400d40cb823335c4000987b26dfce24289e 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;