mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 04:29:29 +02:00
* add $parentfp as a first parameter on i8086, instead of last. This makes
regular non-nested procedures compatible with nested var procvars and fixes the tmaclocalprocparam*.pp tests on i8086 git-svn-id: trunk@25825 -
This commit is contained in:
parent
7e7ab2fd4d
commit
8744fbefbb
@ -106,10 +106,10 @@ implementation
|
||||
paranr:=paranr_parentfp
|
||||
{ nested procvars require Delphi-style parentfp passing, see
|
||||
po_delphi_nested_cc declaration for more info }
|
||||
{$ifdef i386}
|
||||
{$if defined(i386) or defined(i8086)}
|
||||
else if (pd.proccalloption in pushleftright_pocalls) then
|
||||
paranr:=paranr_parentfp_delphi_cc_leftright
|
||||
{$endif i386}
|
||||
{$endif i386 or i8086}
|
||||
else
|
||||
paranr:=paranr_parentfp_delphi_cc;
|
||||
{ Generate frame pointer. It can't be put in a register since it
|
||||
|
Loading…
Reference in New Issue
Block a user