mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-18 04:20:28 +00:00
Fix wasm abi
This commit is contained in:
@@ -1343,7 +1343,7 @@ namespace lbAbiWasm {
|
||||
// ignore padding
|
||||
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);
|
||||
} else {
|
||||
return is_struct(c, type, calling_convention);
|
||||
|
||||
Reference in New Issue
Block a user