mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 05:08:06 +02:00
* MIPS: use correct def to calculate parameter alignment (when parameter is passed by address, its def changes to pointer and the alignment of parameter itself is irrelevant). Fixes at least webtbs/tw7806.
git-svn-id: trunk@23538 -
This commit is contained in:
parent
528e231c66
commit
08c0c265c9
@ -343,7 +343,7 @@ implementation
|
||||
paralen := tcgsize2size[paracgsize];
|
||||
end;
|
||||
|
||||
if (paracgsize in [OS_64, OS_S64, OS_F64]) or (hp.vardef.alignment = 8) then
|
||||
if (paracgsize in [OS_64, OS_S64, OS_F64]) or (paradef.alignment = 8) then
|
||||
alignment := 8
|
||||
else
|
||||
alignment := 4;
|
||||
|
Loading…
Reference in New Issue
Block a user