Prechádzať zdrojové kódy

* OS_INT => OS_32

git-svn-id: branches/avr@17108 -
florian 14 rokov pred
rodič
commit
f5694da7bc
2 zmenil súbory, kde vykonal 3 pridanie a 3 odobranie
  1. 2 2
      compiler/ncgadd.pas
  2. 1 1
      compiler/ncgcnv.pas

+ 2 - 2
compiler/ncgadd.pas

@@ -208,8 +208,8 @@ interface
 {$ifndef cpu64bitalu}
             if location.size in [OS_64,OS_S64] then
               begin
-                location.register64.reglo := cg.getintregister(current_asmdata.CurrAsmList,OS_INT);
-                location.register64.reghi := cg.getintregister(current_asmdata.CurrAsmList,OS_INT);
+                location.register64.reglo := cg.getintregister(current_asmdata.CurrAsmList,OS_32);
+                location.register64.reghi := cg.getintregister(current_asmdata.CurrAsmList,OS_32);
               end
             else
 {$endif}

+ 1 - 1
compiler/ncgcnv.pas

@@ -177,7 +177,7 @@ interface
             begin
               if left.location.size in [OS_64,OS_S64] then
                begin
-                 hregister:=cg.getintregister(current_asmdata.CurrAsmList,OS_INT);
+                 hregister:=cg.getintregister(current_asmdata.CurrAsmList,OS_32);
                  cg.a_load_ref_reg(current_asmdata.CurrAsmList,OS_32,OS_32,left.location.reference,hregister);
                  href:=left.location.reference;
                  inc(href.offset,4);