소스 검색

* instructions being already conditional can't be marked as conditional again

git-svn-id: trunk@5394 -
florian 19 년 전
부모
커밋
1e1f711663
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/arm/aoptcpu.pas

+ 1 - 1
compiler/arm/aoptcpu.pas

@@ -43,7 +43,7 @@ Implementation
 
   function CanBeCond(p : tai) : boolean;
     begin
-      result:=true;
+      result:=(p.typ=ait_instruction) and (taicpu(p).condition=C_None);
     end;