浏览代码

* OS_INT => OS_32

git-svn-id: branches/avr@17108 -
florian 14 年之前
父节点
当前提交
f5694da7bc
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      compiler/ncgadd.pas
  2. 1 1
      compiler/ncgcnv.pas

+ 2 - 2
compiler/ncgadd.pas

@@ -208,8 +208,8 @@ interface
 {$ifndef cpu64bitalu}
 {$ifndef cpu64bitalu}
             if location.size in [OS_64,OS_S64] then
             if location.size in [OS_64,OS_S64] then
               begin
               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
               end
             else
             else
 {$endif}
 {$endif}

+ 1 - 1
compiler/ncgcnv.pas

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