Ver Fonte

- removed tai_varloc.oldlocation: it is not used anywhere

git-svn-id: trunk@34083 -
Jonas Maebe há 9 anos atrás
pai
commit
ee5a64c2f8
2 ficheiros alterados com 0 adições e 8 exclusões
  1. 0 3
      compiler/aasmtai.pas
  2. 0 5
      compiler/hlcgobj.pas

+ 0 - 3
compiler/aasmtai.pas

@@ -821,8 +821,6 @@ interface
         tai_align_class = class of tai_align_abstract;
 
         tai_varloc = class(tai)
-           oldlocation,
-           oldlocationhi,
            newlocation,
            newlocationhi : tregister;
            varsym : tsym;
@@ -1051,7 +1049,6 @@ implementation
         newlocation:=loc;
         newlocationhi:=NR_NO;
         varsym:=sym;
-        oldlocationhi:=NR_NO;
       end;
 
 

+ 0 - 5
compiler/hlcgobj.pas

@@ -4306,8 +4306,6 @@ implementation
               (rr.sym.currentregloc.registerhi<>rr.newhi)) then
             begin
               varloc:=tai_varloc.create128(rr.sym,rr.new,rr.newhi);
-              varloc.oldlocation:=rr.sym.currentregloc.register;
-              varloc.oldlocationhi:=rr.sym.currentregloc.registerhi;
               rr.sym.currentregloc.register:=rr.new;
               rr.sym.currentregloc.registerHI:=rr.newhi;
               list.concat(varloc);
@@ -4324,8 +4322,6 @@ implementation
               (rr.sym.currentregloc.registerhi<>rr.newhi)) then
             begin
               varloc:=tai_varloc.create64(rr.sym,rr.new,rr.newhi);
-              varloc.oldlocation:=rr.sym.currentregloc.register;
-              varloc.oldlocationhi:=rr.sym.currentregloc.registerhi;
               rr.sym.currentregloc.register:=rr.new;
               rr.sym.currentregloc.registerHI:=rr.newhi;
               list.concat(varloc);
@@ -4338,7 +4334,6 @@ implementation
           if assigned(rr.sym) and (rr.sym.currentregloc.register<>rr.new) then
             begin
               varloc:=tai_varloc.create(rr.sym,rr.new);
-              varloc.oldlocation:=rr.sym.currentregloc.register;
               rr.sym.currentregloc.register:=rr.new;
               list.concat(varloc);
             end;