فهرست منبع

Do not set value of stoploop to avoid infinite loop

git-svn-id: trunk@45785 -
pierre 5 سال پیش
والد
کامیت
13afd5c6c7
1فایلهای تغییر یافته به همراه1 افزوده شده و 4 حذف شده
  1. 1 4
      compiler/aoptobj.pas

+ 1 - 4
compiler/aoptobj.pas

@@ -1948,10 +1948,7 @@ Unit AoptObj;
           is the same instruction, like 'bne	$v0,$zero,.Lj3' for MIPS }
           is the same instruction, like 'bne	$v0,$zero,.Lj3' for MIPS }
         if (taicpu(p).ops>1) or ((hp1.typ=ait_instruction) and
         if (taicpu(p).ops>1) or ((hp1.typ=ait_instruction) and
             (taicpu(hp1).ops>1)) then
             (taicpu(hp1).ops>1)) then
-           begin
-             stoploop:=false;
-             exit;
-           end;
+           exit;
         while (hp1 <> BlockEnd) do
         while (hp1 <> BlockEnd) do
           begin
           begin
             StripDeadLabels(hp1, hp1);
             StripDeadLabels(hp1, hp1);