mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-05 13:29:25 +01:00
Set MaxLocalsSize according to address size not register size
git-svn-id: trunk@39925 -
This commit is contained in:
parent
5ccced201a
commit
c9c8ff1eef
@ -89,8 +89,8 @@ interface
|
|||||||
|
|
||||||
{ Maximum possible size of locals space (stack frame) }
|
{ Maximum possible size of locals space (stack frame) }
|
||||||
Const
|
Const
|
||||||
{$if defined(cpu8bitalu) or defined(cpu16bitalu)}
|
{$if defined(cpu16bitaddr)}
|
||||||
MaxLocalsSize = High(AWord);
|
MaxLocalsSize = High(PUint);
|
||||||
{$else}
|
{$else}
|
||||||
MaxLocalsSize = High(longint) - 15;
|
MaxLocalsSize = High(longint) - 15;
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user