mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 01:39:27 +02:00
x86-64: properly set parameter alignment if not default
This commit is contained in:
parent
c42e64db82
commit
d5a50eee8a
@ -1707,6 +1707,7 @@ unit cpupara;
|
||||
begin
|
||||
getvalueparaloc(p.proccalloption,hp.varspez,paralocdef,loc);
|
||||
paralen:=push_size(hp.varspez,paralocdef,p.proccalloption);
|
||||
paraalign:=max(paraalign,paradef.alignment);
|
||||
if p.proccalloption = pocall_vectorcall then
|
||||
begin
|
||||
{ TODO: Can this set of instructions be put into 'defutil' without it relying on the argument classification? [Kit] }
|
||||
|
Loading…
Reference in New Issue
Block a user