Selaa lähdekoodia

* compilation fixed

git-svn-id: trunk@41139 -
florian 6 vuotta sitten
vanhempi
commit
2b6076a719
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      compiler/arm/cgcpu.pas

+ 2 - 2
compiler/arm/cgcpu.pas

@@ -2694,9 +2694,9 @@ unit cgcpu;
               ((ref.symbol=nil) and
                (ref.addressmode=AM_OFFSET) and
                (((ref.offset>=0) and (ref.offset+len<=31)) or
-                (not(GenerateThumbCode) and (ref.offset>=-255) and (ref.offset+len<=255))
+                (not(GenerateThumbCode) and (ref.offset>=-255) and (ref.offset+len<=255)) or
                 { ldrh has a limited offset range }
-                (not(GenerateThumbCode) and ((len mod 4) in [0,1]) and (ref.offset>=-4095) and (ref.offset+len<=4095))}
+                (not(GenerateThumbCode) and ((len mod 4) in [0,1]) and (ref.offset>=-4095) and (ref.offset+len<=4095))
                )
               );
         end;