aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-03-26 16:47:29 +0000
committergingerBill <bill@gingerbill.org>2024-03-26 16:47:29 +0000
commit6588fe35b302118944d86c6a6b5d336c8f31df49 (patch)
treeb3f4610016356c09f6f1d416813ad41265b29a24 /src
parentfa84272d5e6cd4c36b6797787ff89f7f5f551dc0 (diff)
Fix wasm abi
Diffstat (limited to 'src')
-rw-r--r--src/llvm_abi.cpp2
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);