diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-04-26 20:06:40 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-04-26 20:06:40 -0700 |
commit | 206338a6c4e3f9739abd7a2ad082d1770b3a628f (patch) | |
tree | 817992a1e811af71087a228b20f3c35df9485b96 /src/s2wasm.h | |
parent | dd778824cfc60c4478bbe7690769f444dad92803 (diff) | |
parent | d9096704dfa84aea94bb6ac2ffa02d88fa546bfa (diff) | |
download | binaryen-206338a6c4e3f9739abd7a2ad082d1770b3a628f.tar.gz binaryen-206338a6c4e3f9739abd7a2ad082d1770b3a628f.tar.bz2 binaryen-206338a6c4e3f9739abd7a2ad082d1770b3a628f.zip |
Prep for arena vectors
Arena vectors
Diffstat (limited to 'src/s2wasm.h')
-rw-r--r-- | src/s2wasm.h | 2 |
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); |