* Use localalignmax in calc_stackframe_size method

git-svn-id: trunk@20938 -
This commit is contained in:
pierre 2012-04-20 12:13:52 +00:00
parent f0afaef920
commit 34bc5ea624

View File

@ -73,7 +73,7 @@ unit cpupi;
{ align to 4 bytes at least
otherwise all those subl $2,%esp are meaningless PM }
if not(target_info.system in [system_i386_darwin,system_i386_iphonesim]) then
result:=Align(tg.direction*tg.lasttemp,min(current_settings.alignment.localalignmin,4))
result:=Align(tg.direction*tg.lasttemp,min(current_settings.alignment.localalignmax,4))
else
result:=tg.direction*tg.lasttemp+maxpushedparasize;
end;