Browse Source

* compilation fixed

git-svn-id: trunk@41139 -
florian 6 years ago
parent
commit
2b6076a719
1 changed files with 2 additions and 2 deletions
  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;