瀏覽代碼

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

florian 2 年之前
父節點
當前提交
aed706e356
共有 1 個文件被更改,包括 1 次插入1 次删除
  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