Sfoglia il codice sorgente

* arrays always by addr

git-svn-id: trunk@8232 -
peter 18 anni fa
parent
commit
2e9968d46c
1 ha cambiato i file con 1 aggiunte e 12 eliminazioni
  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
                 result:=false
               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;
           objectdef :
             begin