2
0
Эх сурвалжийг харах

+ Internalerror if g_concatcopy is called with len=0.

git-svn-id: trunk@8052 -
daniel 18 жил өмнө
parent
commit
4f6eb50391

+ 2 - 0
compiler/x86/cgx86.pas

@@ -1566,6 +1566,8 @@ unit cgx86;
         cm:copymode;
         cm:copymode;
 
 
     begin
     begin
+      if len=0 then
+        internalerror(200707142);
       cm:=copy_move;
       cm:=copy_move;
       helpsize:=12;
       helpsize:=12;
       if cs_opt_size in current_settings.optimizerswitches then
       if cs_opt_size in current_settings.optimizerswitches then