소스 검색

* Optimized evaluation of the condition.

Yuriy Sydorov 3 년 전
부모
커밋
6bf4c7a68d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      compiler/optloop.pas

+ 2 - 2
compiler/optloop.pas

@@ -344,8 +344,8 @@ unit optloop;
       procedure CheckCalcAtEnd;
         begin
           if not assigned(initcode) then
-            docalcatend:=not(foreachnodestatic(tfornode(arg).t2,@checkcontinue,nil)) and
-              not(assigned(tfornode(arg).entrylabel));
+            docalcatend:=not(assigned(tfornode(arg).entrylabel)) and
+              not(foreachnodestatic(tfornode(arg).t2,@checkcontinue,nil));
         end;