Explorar el Código

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

git-svn-id: trunk@5394 -
florian hace 19 años
padre
commit
1e1f711663
Se han modificado 1 ficheros con 1 adiciones y 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;
     begin
-      result:=true;
+      result:=(p.typ=ait_instruction) and (taicpu(p).condition=C_None);
     end;