* make use_fixed_stack for i386 more generic (any target with more than

4 byte stack alignment needs a fixed stack)

git-svn-id: trunk@23043 -
This commit is contained in:
Jonas Maebe 2012-11-22 12:17:52 +00:00
parent ea848beb13
commit 3eb527b532

View File

@ -498,7 +498,7 @@ implementation
function tparamanager.use_fixed_stack: boolean;
begin
{$ifdef i386}
result := (target_info.system in [system_i386_darwin,system_i386_iphonesim]);
result := target_info.stackalign > 4;
{$else i386}
{$ifdef cputargethasfixedstack}
result := true;