Browse Source

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

git-svn-id: trunk@5394 -
florian 18 năm trước cách đây
mục cha
commit
1e1f711663
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;