summaryrefslogtreecommitdiff
path: root/src/wasm2js.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm2js.h')
-rw-r--r--src/wasm2js.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/wasm2js.h b/src/wasm2js.h
index 906a4b9dc..2cacbe8e5 100644
--- a/src/wasm2js.h
+++ b/src/wasm2js.h
@@ -406,14 +406,11 @@ Ref Wasm2JSBuilder::processWasm(Module* wasm, Name funcName) {
});
if (generateFetchHighBits) {
Builder builder(allocator);
- std::vector<Type> params;
- std::vector<Type> vars;
asmFunc[3]->push_back(processFunction(
wasm,
builder.makeFunction(WASM_FETCH_HIGH_BITS,
- std::move(params),
- i32,
- std::move(vars),
+ Signature(Type::none, Type::i32),
+ {},
builder.makeReturn(builder.makeGlobalGet(
INT64_TO_32_HIGH_BITS, i32)))));
auto e = new Export();