mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Fix typo in System V ABI determination
This commit is contained in:
+1
-1
@@ -2105,7 +2105,7 @@ Type *type_to_abi_compat_param_type(gbAllocator a, Type *original_type, ProcCall
|
|||||||
case Type_Struct: {
|
case Type_Struct: {
|
||||||
i64 align = type_align_of(original_type);
|
i64 align = type_align_of(original_type);
|
||||||
i64 size = type_size_of(original_type);
|
i64 size = type_size_of(original_type);
|
||||||
if (8*size > 16) {
|
if (size > 16) {
|
||||||
new_type = alloc_type_pointer(original_type);
|
new_type = alloc_type_pointer(original_type);
|
||||||
} else if (build_context.ODIN_ARCH == "amd64") {
|
} else if (build_context.ODIN_ARCH == "amd64") {
|
||||||
if (is_type_struct(bt)) {
|
if (is_type_struct(bt)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user