Browse Source

* forgotten part of r18958

git-svn-id: trunk@18959 -
florian 14 years ago
parent
commit
7b72e21743
1 changed files with 14 additions and 1 deletions
  1. 14 1
      compiler/aasmtai.pas

+ 14 - 1
compiler/aasmtai.pas

@@ -650,9 +650,11 @@ interface
         tai_align_class = class of tai_align_abstract;
         tai_align_class = class of tai_align_abstract;
 
 
         tai_varloc = class(tai)
         tai_varloc = class(tai)
-           newlocation : tregister;
+           newlocation,
+           newlocationhi : tregister;
            varsym : tsym;
            varsym : tsym;
            constructor create(sym : tsym;loc : tregister);
            constructor create(sym : tsym;loc : tregister);
+           constructor create64(sym : tsym;loc,lochi : tregister);
            constructor ppuload(t:taitype;ppufile:tcompilerppufile);override;
            constructor ppuload(t:taitype;ppufile:tcompilerppufile);override;
            procedure ppuwrite(ppufile:tcompilerppufile);override;
            procedure ppuwrite(ppufile:tcompilerppufile);override;
            procedure buildderefimpl;override;
            procedure buildderefimpl;override;
@@ -776,6 +778,17 @@ implementation
         inherited Create;
         inherited Create;
         typ:=ait_varloc;
         typ:=ait_varloc;
         newlocation:=loc;
         newlocation:=loc;
+        newlocationhi:=NR_NO;
+        varsym:=sym;
+      end;
+
+
+    constructor tai_varloc.create64(sym: tsym; loc: tregister;lochi : tregister);
+      begin
+        inherited Create;
+        typ:=ait_varloc;
+        newlocation:=loc;
+        newlocationhi:=lochi;
         varsym:=sym;
         varsym:=sym;
       end;
       end;