Explorar o código

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

git-svn-id: trunk@5394 -
florian %!s(int64=18) %!d(string=hai) anos
pai
achega
1e1f711663
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/arm/aoptcpu.pas

+ 1 - 1
compiler/arm/aoptcpu.pas

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