summaryrefslogtreecommitdiff
path: root/src/tools/wasm2asm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/wasm2asm.cpp')
-rw-r--r--src/tools/wasm2asm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/wasm2asm.cpp b/src/tools/wasm2asm.cpp
index 2251a332c..fd65ca5e6 100644
--- a/src/tools/wasm2asm.cpp
+++ b/src/tools/wasm2asm.cpp
@@ -76,7 +76,7 @@ int main(int argc, const char *argv[]) {
if (options.extra["asserts"] == "1") {
if (options.debug) std::cerr << "asserting..." << std::endl;
- flattenAppend(asmjs, wasm2asm.processAsserts(*root, builder));
+ flattenAppend(asmjs, wasm2asm.processAsserts(&wasm, *root, builder));
}
} catch (ParseException& p) {
p.dump(std::cerr);