mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Fix wasm abi
This commit is contained in:
+1
-1
@@ -1343,7 +1343,7 @@ namespace lbAbiWasm {
|
|||||||
// ignore padding
|
// ignore padding
|
||||||
LLVMStructGetTypeAtIndex(type, 2)
|
LLVMStructGetTypeAtIndex(type, 2)
|
||||||
};
|
};
|
||||||
LLVMTypeRef new_type = LLVMStructTypeInContext(c, types, gb_count_of(types), true);
|
LLVMTypeRef new_type = LLVMStructTypeInContext(c, types, gb_count_of(types), false);
|
||||||
return lb_arg_type_direct(type, new_type, nullptr, nullptr);
|
return lb_arg_type_direct(type, new_type, nullptr, nullptr);
|
||||||
} else {
|
} else {
|
||||||
return is_struct(c, type, calling_convention);
|
return is_struct(c, type, calling_convention);
|
||||||
|
|||||||
Reference in New Issue
Block a user