Explorar o código

* arrays always by addr

git-svn-id: trunk@8232 -
peter %!s(int64=18) %!d(string=hai) anos
pai
achega
2e9968d46c
Modificáronse 1 ficheiros con 1 adicións e 12 borrados
  1. 1 12
      compiler/x86_64/cpupara.pas

+ 1 - 12
compiler/x86_64/cpupara.pas

@@ -256,18 +256,7 @@ unit cpupara;
                   is_dynamic_array(def)) then
                   is_dynamic_array(def)) then
                 result:=false
                 result:=false
               else
               else
-                if is_special_array(def) then
-                  result:=true
-                else
-                { normal arrays }
-                  begin
-                    { Win ABI depends on size to pass it in a register or not }
-                    if (target_info.system=system_x86_64_win64) then
-                      result:=not structure_in_registers(varspez,def.size)
-                    else
-                    { linux ABI always passes it var parameter }
-                      result:=true;
-                  end;
+                result:=true;
             end;
             end;
           objectdef :
           objectdef :
             begin
             begin