Kaynağa Gözat

Set MaxLocalsSize according to address size not register size

git-svn-id: trunk@39925 -
pierre 6 yıl önce
ebeveyn
işleme
c9c8ff1eef
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      compiler/globtype.pas

+ 2 - 2
compiler/globtype.pas

@@ -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)}
-       MaxLocalsSize = High(AWord);
+{$if defined(cpu16bitaddr)}
+       MaxLocalsSize = High(PUint);
 {$else}
 {$else}
        MaxLocalsSize = High(longint) - 15;
        MaxLocalsSize = High(longint) - 15;
 {$endif}
 {$endif}