diff options
| author | atil <atilkurtulmus@gmail.com> | 2021-03-19 07:28:27 +0300 |
|---|---|---|
| committer | atil <atilkurtulmus@gmail.com> | 2021-03-19 07:28:27 +0300 |
| commit | 5f5dfdc00eafd5ce0c357576489507ea5eebacfe (patch) | |
| tree | ed252441316a0430a6bff2c9adc43353a7436e3a /src/check_type.cpp | |
| parent | 333741222827db990ef2bce11873816e66bc1633 (diff) | |
return by pointer on linux
Diffstat (limited to 'src/check_type.cpp')
| -rw-r--r-- | src/check_type.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp index e6e12ab1b..85c425ad4 100644 --- a/src/check_type.cpp +++ b/src/check_type.cpp @@ -2423,7 +2423,7 @@ bool abi_compat_return_by_pointer(gbAllocator a, ProcCallingConvention cc, Type } } - if (build_context.ODIN_OS == "windows") { + if (build_context.ODIN_OS == "windows" || build_context.ODIN_OS == "linux" ) { i64 size = 8*type_size_of(abi_return_type); switch (size) { case 0: |