mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-03 03: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) }
|
||||
Const
|
||||
{$if defined(cpu8bitalu) or defined(cpu16bitalu)}
|
||||
MaxLocalsSize = High(AWord);
|
||||
{$if defined(cpu16bitaddr)}
|
||||
MaxLocalsSize = High(PUint);
|
||||
{$else}
|
||||
MaxLocalsSize = High(longint) - 15;
|
||||
{$endif}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user