summaryrefslogtreecommitdiff
path: root/src/s2wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s2wasm.h')
-rw-r--r--src/s2wasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s2wasm.h b/src/s2wasm.h
index 94684facf..00e6b12a2 100644
--- a/src/s2wasm.h
+++ b/src/s2wasm.h
@@ -689,7 +689,7 @@ class S2WasmBuilder {
auto input = inputs.begin();
auto* target = *input;
std::vector<Expression*> operands(++input, inputs.end());
- auto* funcType = ensureFunctionType(getSig(type, operands), &wasm, allocator);
+ auto* funcType = ensureFunctionType(getSig(type, operands), &wasm);
assert(type == funcType->result);
auto* indirect = builder.makeCallIndirect(funcType, target, std::move(operands));
setOutput(indirect, assign);