Explorar o código

* disable parameter struct padding for llvm, as llvm does that it by itself
(and interprets our padding as extra parameters)

git-svn-id: trunk@32554 -

Jonas Maebe %!s(int64=9) %!d(string=hai) anos
pai
achega
a27927e658
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      compiler/x86_64/cpupara.pas

+ 2 - 1
compiler/x86_64/cpupara.pas

@@ -425,6 +425,7 @@ unit cpupara;
               exit(0);
           end;
 
+{$ifndef llvm}
           { FIXME: in case a record contains empty padding space, e.g. a
             "single" field followed by a "double", then we have a problem
             because the cgpara helpers cannot figure out that they should
@@ -460,7 +461,7 @@ unit cpupara;
                   classes[1].def:=carraydef.getreusable_no_free(s32floattype,2);
                 end;
             end;
-
+{$endif not llvm}
           result:=words;
       end;