Explorar o código

AArch64 cgcpu: add missing brackets around and/or expression

Jonas Maebe %!s(int64=2) %!d(string=hai) anos
pai
achega
230142e183
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      compiler/aarch64/aasmcpu.pas

+ 2 - 2
compiler/aarch64/aasmcpu.pas

@@ -708,8 +708,8 @@ implementation
           references internally, they should never end up here with an
           extra base or offset) }
         if (ref.refaddr in [addr_gotpage,addr_page]) and
-           (ref.base<>NR_NO) or
-           (ref.index<>NR_NO) then
+           ((ref.base<>NR_NO) or
+            (ref.index<>NR_NO)) then
           begin
             result:=sr_internal_illegal;
             exit;