Jelajahi Sumber

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 tahun lalu
induk
melakukan
358f8eb85d
1 mengubah file dengan 0 tambahan dan 3 penghapusan
  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) }
         if not nostackframe then
           begin
-            { size can't be negative }
             localsize:=align(localsize,4);
-            if (localsize < 0) then
-              internalerror(2006122601);
 
             if (localsize > high(smallint)) then
               begin