diff options
| author | gingerBill <bill@gingerbill.org> | 2021-02-24 23:21:34 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-02-24 23:21:34 +0000 |
| commit | ba817d153ce1cd48dd37e47d2e4243270f78e9f0 (patch) | |
| tree | e5628e0c1a375ada4c45c3e73846006a2b6ac4f2 /src/llvm_abi.cpp | |
| parent | 2d88c6c6a552563634aba23e35b6578f6230ad87 (diff) | |
Get compiling on Mac Mini M1
Diffstat (limited to 'src/llvm_abi.cpp')
| -rw-r--r-- | src/llvm_abi.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/llvm_abi.cpp b/src/llvm_abi.cpp index 4dd48fbcc..327165da5 100644 --- a/src/llvm_abi.cpp +++ b/src/llvm_abi.cpp @@ -909,7 +909,7 @@ namespace lbAbiAmd64SysV { }; -namespace lbAbiAarch64 { +namespace lbAbiArm64 { Array<lbArgType> compute_arg_types(LLVMContextRef c, LLVMTypeRef *arg_types, unsigned arg_count); lbArgType compute_return_type(LLVMContextRef c, LLVMTypeRef return_type, bool return_is_defined); bool is_homogenous_aggregate(LLVMContextRef c, LLVMTypeRef type, LLVMTypeRef *base_type_, unsigned *member_count_); @@ -1123,8 +1123,8 @@ LB_ABI_INFO(lb_get_abi_info) { } } else if (build_context.metrics.arch == TargetArch_386) { return lbAbi386::abi_info(c, arg_types, arg_count, return_type, return_is_defined, calling_convention); - } else if (build_context.metrics.arch == TargetArch_aarch64) { - return lbAbiAarch64::abi_info(c, arg_types, arg_count, return_type, return_is_defined, calling_convention); + } else if (build_context.metrics.arch == TargetArch_arm64) { + return lbAbiArm64::abi_info(c, arg_types, arg_count, return_type, return_is_defined, calling_convention); } else if (build_context.metrics.arch == TargetArch_wasm32) { return lbAbi386::abi_info(c, arg_types, arg_count, return_type, return_is_defined, calling_convention); } |