* fixed offset calculation of first parameter on the stack if there

were any preceding parameters < 4 bytes

git-svn-id: trunk@3141 -
This commit is contained in:
Jonas Maebe 2006-04-04 12:44:19 +00:00
parent e8df9990e1
commit 385815beff

View File

@ -464,7 +464,7 @@ unit cpupara;
inc(nextintreg);
dec(paralen,tcgsize2size[paraloc^.size]);
if target_info.abi=abi_powerpc_aix then
inc(stack_offset,tcgsize2size[paraloc^.size]);
inc(stack_offset,align(tcgsize2size[paraloc^.size],4));
end
else if (loc = LOC_FPUREGISTER) and
(nextfloatreg <= maxfpureg) then