소스 검색

AArch64 cgcpu: add missing brackets around and/or expression

Jonas Maebe 2 년 전
부모
커밋
230142e183
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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;