mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-10 15:05:58 +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);
|
exit(0);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
{$ifndef llvm}
|
||||||
{ FIXME: in case a record contains empty padding space, e.g. a
|
{ FIXME: in case a record contains empty padding space, e.g. a
|
||||||
"single" field followed by a "double", then we have a problem
|
"single" field followed by a "double", then we have a problem
|
||||||
because the cgpara helpers cannot figure out that they should
|
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);
|
classes[1].def:=carraydef.getreusable_no_free(s32floattype,2);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
{$endif not llvm}
|
||||||
result:=words;
|
result:=words;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user