mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 08:09:33 +02:00
* 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 -
This commit is contained in:
parent
d6fb458129
commit
a27927e658
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user