Parcourir la source

* fixed compilation for non-ARM

git-svn-id: trunk@5380 -
Jonas Maebe il y a 19 ans
Parent
commit
7528e074a5
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      compiler/aoptobj.pas

+ 2 - 2
compiler/aoptobj.pas

@@ -1058,9 +1058,9 @@ Unit AoptObj;
                                   GetNextInstruction(hp1, hp2) and
                                   GetNextInstruction(hp1, hp2) and
                                   FindLabel(tasmlabel(taicpu(p).oper[0]^.ref^.symbol), hp2) then
                                   FindLabel(tasmlabel(taicpu(p).oper[0]^.ref^.symbol), hp2) then
                                 begin
                                 begin
-                                  if (taicpu(p).opcode=aopt_condjmp) and
+                                  if (taicpu(p).opcode=aopt_condjmp)
 {$ifdef arm}
 {$ifdef arm}
-                                    (taicpu(p).condition<>C_None)
+                                    and (taicpu(p).condition<>C_None)
 {$endif arm}
 {$endif arm}
                                   then
                                   then
                                     begin
                                     begin