From 6588fe35b302118944d86c6a6b5d336c8f31df49 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 26 Mar 2024 16:47:29 +0000 Subject: Fix wasm abi --- src/llvm_abi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/llvm_abi.cpp') diff --git a/src/llvm_abi.cpp b/src/llvm_abi.cpp index f976d99b3..5f5f734fb 100644 --- a/src/llvm_abi.cpp +++ b/src/llvm_abi.cpp @@ -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); -- cgit v1.2.3