diff options
author | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2006-03-10 23:44:04 +0000 |
---|---|---|
committer | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2006-03-10 23:44:04 +0000 |
commit | a8e7b2c475f6c7915236db5a700de3591cc916bf (patch) | |
tree | 6b4970ffb4f1c74b7ca719c0d9ef9bc8f4bf6800 /compiler/cgutils.pas | |
parent | 1045de4258373bad27c90cfffabe535e1a9ed15c (diff) | |
download | fpc-a8e7b2c475f6c7915236db5a700de3591cc916bf.tar.gz |
* turned {$ifdef cputargethasfixedstack} into "if use_fixed_stack"
* fixed i386 parameter passing of function calls nested in parameters
of functions which also need the stack to pass poarameters
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@2847 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/cgutils.pas')
-rw-r--r-- | compiler/cgutils.pas | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/cgutils.pas b/compiler/cgutils.pas index e95430482b..d8db7e6a4e 100644 --- a/compiler/cgutils.pas +++ b/compiler/cgutils.pas @@ -194,8 +194,13 @@ uses {$ifdef i386} result := (target_info.system = system_i386_darwin); {$else i386} +{$ifdef cputargethasfixedstack} + result := true; +{$else cputargethasfixedstack} result := false; +{$endif cputargethasfixedstack} {$endif i386} end; end. + |