diff options
| author | gingerBill <bill@gingerbill.org> | 2024-03-26 16:47:29 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-03-26 16:47:29 +0000 |
| commit | 6588fe35b302118944d86c6a6b5d336c8f31df49 (patch) | |
| tree | b3f4610016356c09f6f1d416813ad41265b29a24 /src | |
| parent | fa84272d5e6cd4c36b6797787ff89f7f5f551dc0 (diff) | |
Fix wasm abi
Diffstat (limited to 'src')
| -rw-r--r-- | src/llvm_abi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |