Browse Source

+ replace some stuff by ALL_REGISTERS

carl 23 years ago
parent
commit
f2f6449e6b
1 changed files with 6 additions and 3 deletions
  1. 6 3
      compiler/symdef.pas

+ 6 - 3
compiler/symdef.pas

@@ -3265,7 +3265,7 @@ implementation
           end;
           end;
          lastref:=defref;
          lastref:=defref;
        { first, we assume that all registers are used }
        { first, we assume that all registers are used }
-         usedregisters:=[firstreg..lastreg];
+         usedregisters:=ALL_REGISTERS;
          forwarddef:=true;
          forwarddef:=true;
          interfacedef:=false;
          interfacedef:=false;
          hasforward:=false;
          hasforward:=false;
@@ -3368,7 +3368,7 @@ implementation
          { set all registers to used for simplified compilation PM }
          { set all registers to used for simplified compilation PM }
          if simplify_ppu then
          if simplify_ppu then
            begin
            begin
-             usedregisters:=[firstreg..lastreg];
+             usedregisters:=ALL_REGISTERS;
            end;
            end;
 
 
          ppufile.putnormalset(usedregisters);
          ppufile.putnormalset(usedregisters);
@@ -5419,7 +5419,10 @@ implementation
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.68  2002-04-02 17:11:29  peter
+  Revision 1.69  2002-04-14 16:55:43  carl
+  + replace some stuff by ALL_REGISTERS
+
+  Revision 1.68  2002/04/02 17:11:29  peter
     * tlocation,treference update
     * tlocation,treference update
     * LOC_CONSTANT added for better constant handling
     * LOC_CONSTANT added for better constant handling
     * secondadd splitted in multiple routines
     * secondadd splitted in multiple routines