aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_abi.cpp
diff options
context:
space:
mode:
authorMichael Kutowski <skytrias@protonmail.com>2022-12-24 10:39:01 +0100
committerGitHub <noreply@github.com>2022-12-24 10:39:01 +0100
commit4ee413aa32373d8fd3d75288a885f671953cd25e (patch)
treefcd6acff675d8af64bad9c37b5e00730cd83b570 /src/llvm_abi.cpp
parent9474c997953fc11df1de03997809e9b4ae44760d (diff)
parent5d0f9c428aa8b358f0bbfb2f9949a64ed214d345 (diff)
Merge branch 'odin-lang:master' into skytrias-vendor-additions
Diffstat (limited to 'src/llvm_abi.cpp')
-rw-r--r--src/llvm_abi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_abi.cpp b/src/llvm_abi.cpp
index 166fcb3ee..2cabc2dc7 100644
--- a/src/llvm_abi.cpp
+++ b/src/llvm_abi.cpp
@@ -987,8 +987,8 @@ namespace lbAbiArm64 {
LB_ABI_INFO(abi_info) {
lbFunctionType *ft = gb_alloc_item(permanent_allocator(), lbFunctionType);
ft->ctx = c;
+ ft->args = compute_arg_types(c, arg_types, arg_count);
ft->ret = compute_return_type(ft, c, return_type, return_is_defined, return_is_tuple);
- ft -> args = compute_arg_types(c, arg_types, arg_count);
ft->calling_convention = calling_convention;
return ft;
}