소스 검색

m68k: do not internalerror on localsize < 0. this condition is handled elsewhere in the compiler properly, so we just let it through

git-svn-id: trunk@36612 -
Károly Balogh 8 년 전
부모
커밋
358f8eb85d
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      compiler/m68k/cgcpu.pas

+ 0 - 3
compiler/m68k/cgcpu.pas

@@ -1833,10 +1833,7 @@ unit cgcpu;
           to '060, so the two move branch here was dropped. (KB) }
           to '060, so the two move branch here was dropped. (KB) }
         if not nostackframe then
         if not nostackframe then
           begin
           begin
-            { size can't be negative }
             localsize:=align(localsize,4);
             localsize:=align(localsize,4);
-            if (localsize < 0) then
-              internalerror(2006122601);
 
 
             if (localsize > high(smallint)) then
             if (localsize > high(smallint)) then
               begin
               begin