Преглед изворни кода

* fixed passing of structs on x86_64-linux

git-svn-id: trunk@4688 -
florian пре 19 година
родитељ
комит
360cbe1de1
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      compiler/x86_64/cpupara.pas

+ 1 - 1
compiler/x86_64/cpupara.pas

@@ -209,7 +209,7 @@ unit cpupara;
           formaldef :
             result:=true;
           recorddef :
-            result:=(def.size>sizeof(aint)) or (varspez=vs_const);
+            result:=(varspez=vs_const) or ((target_info.system=system_x86_64_win64) and (def.size>8));
           arraydef :
             begin
               result:=not(