aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_abi.cpp
diff options
context:
space:
mode:
authorDragos Popescu <31741257+DragosPopse@users.noreply.github.com>2022-12-26 19:22:47 +0200
committerGitHub <noreply@github.com>2022-12-26 19:22:47 +0200
commitcfccf73cdddb0c65aa7042af0216342f02608d06 (patch)
tree1db7d456845e96bc4425234feffdc0be6b88a2ce /src/llvm_abi.cpp
parent465d003b1e70bd4a8cb6623bb71968b79ff66193 (diff)
parent1d6f7680a1abffbb28eb61d27a8cd7966635c3ec (diff)
Merge branch 'odin-lang:master' into master
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;
}