diff options
| author | gingerBill <bill@gingerbill.org> | 2023-06-07 00:53:31 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-06-07 00:53:31 +0100 |
| commit | 295cfc905ce98bb43c59932091917f7925a1d79e (patch) | |
| tree | a9f8165a3df70114809dec6617dab52a70c4d33e /src/llvm_abi.cpp | |
| parent | 204924927a6c7d1507323b464de10e0a09dd2163 (diff) | |
Fix typo in wasm64p32 abi
Diffstat (limited to 'src/llvm_abi.cpp')
| -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 877560d91..b0045d869 100644 --- a/src/llvm_abi.cpp +++ b/src/llvm_abi.cpp @@ -1324,7 +1324,7 @@ namespace lbAbiWasm { LLVMStructGetTypeAtIndex(type, 2) }; LLVMTypeRef new_type = LLVMStructTypeInContext(c, types, gb_count_of(types), false); - return lb_arg_type_direct(new_type, type, nullptr, nullptr); + return lb_arg_type_direct(type, new_type, nullptr, nullptr); } else { return is_struct(c, type, calling_convention); } |