Просмотр исходного кода

* fixed bug, causing the global variable stacksize to be destroyed

git-svn-id: trunk@45171 -
nickysn 5 лет назад
Родитель
Сommit
cfb28c7654
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      compiler/z80/cgcpu.pas

+ 1 - 0
compiler/z80/cgcpu.pas

@@ -2233,6 +2233,7 @@ unit cgcpu;
         regs : tcpuregisterset;
         reg : TSuperRegister;
         LocalSize : longint;
+        stacksize : longint;
       begin
         { every byte counts for Z80, so if a subroutine is marked as non-returning, we do
           not generate any exit code, so we really trust the noreturn directive