瀏覽代碼

* fix arraydef copybyvalue check

git-svn-id: trunk@5088 -
peter 19 年之前
父節點
當前提交
23596358a7
共有 1 個文件被更改,包括 6 次插入4 次删除
  1. 6 4
      compiler/x86_64/cpupara.pas

+ 6 - 4
compiler/x86_64/cpupara.pas

@@ -122,10 +122,12 @@ unit cpupara;
            arraydef:
              begin
                if not(is_special_array(p)) and
-                 { win64 abi }
-                 ((target_info.system=system_x86_64_win64) and (p.size<=8)) or
-                 { linux abi }
-                 ((target_info.system<>system_x86_64_win64) and (p.size<=16)) then
+                  (
+                   { win64 abi }
+                   ((target_info.system=system_x86_64_win64) and (p.size<=8)) or
+                   { linux abi }
+                   ((target_info.system<>system_x86_64_win64) and (p.size<=16))
+                  ) then
                  loc1:=LOC_REGISTER
                else
                  loc1:=LOC_REFERENCE;