Browse Source

* fix arraydef copybyvalue check

git-svn-id: trunk@5088 -
peter 19 years ago
parent
commit
23596358a7
1 changed files with 6 additions and 4 deletions
  1. 6 4
      compiler/x86_64/cpupara.pas

+ 6 - 4
compiler/x86_64/cpupara.pas

@@ -122,10 +122,12 @@ unit cpupara;
            arraydef:
            arraydef:
              begin
              begin
                if not(is_special_array(p)) and
                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
                  loc1:=LOC_REGISTER
                else
                else
                  loc1:=LOC_REFERENCE;
                  loc1:=LOC_REFERENCE;