소스 검색

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

git-svn-id: trunk@45171 -
nickysn 5 년 전
부모
커밋
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