Browse Source

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

git-svn-id: trunk@45171 -
nickysn 5 years ago
parent
commit
cfb28c7654
1 changed files with 1 additions and 0 deletions
  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