Browse Source

* on aarch64-darwin, the unused part of function results is not cleared

florian 1 year ago
parent
commit
a517ada539
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/aarch64/cpupara.pas

+ 1 - 1
compiler/aarch64/cpupara.pas

@@ -311,7 +311,7 @@ unit cpupara;
 
            This is not required for iOS, where the result is zero/sign extended.
          }
-         if (target_info.abi<>abi_aarch64_darwin) and
+         if (target_info.system<>system_aarch64_ios) and
             (side=callerside) and (result.location^.loc = LOC_REGISTER) and
             (result.def.size<8) and is_ordinal(result.def) then
            begin