Fix wasm abi
This commit is contained in:
1 parent
fa84272d5e
commit
6588fe35b3
1 file changed
+1
-1
+1
-1
@@ -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