mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Make "none" calling convention ignore return_by_pointer flag
This commit is contained in:
@@ -2361,6 +2361,9 @@ bool abi_compat_return_by_pointer(gbAllocator a, ProcCallingConvention cc, Type
|
|||||||
if (abi_return_type == nullptr) {
|
if (abi_return_type == nullptr) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (cc == ProcCC_None) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
Type *single_type = reduce_tuple_to_single_type(abi_return_type);
|
Type *single_type = reduce_tuple_to_single_type(abi_return_type);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user