* store parameters at the callee side with the required alignment

git-svn-id: trunk@5604 -
This commit is contained in:
Jonas Maebe 2006-12-15 10:37:26 +00:00
parent 8109e38db2
commit 87e7e435bf

View File

@ -244,7 +244,10 @@ implementation
end;
hp.paraloc[side].reset;
hp.paraloc[side].size:=paracgsize;
hp.paraloc[side].Alignment:=std_param_align;
if (side = callerside) then
hp.paraloc[side].Alignment:=std_param_align
else
hp.paraloc[side].Alignment:=hp.vardef.alignment;
paralen:=tcgsize2size[paracgsize];
hp.paraloc[side].intsize:=paralen;
while paralen>0 do