m68k: one more alignment fix, hopefully fixes regressions not fixed by r36569

git-svn-id: trunk@36570 -
This commit is contained in:
Károly Balogh 2017-06-22 02:41:36 +00:00
parent 8ed84afdd4
commit 26d5500b7c

View File

@ -491,6 +491,8 @@ unit cpupara;
paraloc^.reference.offset:=cur_stack_offset;
if side=calleeside then
inc(paraloc^.reference.offset,target_info.first_parm_offset);
if (paralen<target_info.stackalign{tcgsize2size[OS_INT]}) then
inc(paraloc^.reference.offset,target_info.stackalign-paralen);
cur_stack_offset:=align(cur_stack_offset+paralen,varalign);
end
else