summaryrefslogtreecommitdiff
path: root/src/wasm2js.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm2js.h')
-rw-r--r--src/wasm2js.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm2js.h b/src/wasm2js.h
index ddc3d7313..5257e3456 100644
--- a/src/wasm2js.h
+++ b/src/wasm2js.h
@@ -404,7 +404,7 @@ Ref Wasm2JSBuilder::processWasm(Module* wasm, Name funcName) {
#ifndef NDEBUG
if (!WasmValidator().validate(*wasm)) {
- WasmPrinter::printModule(wasm);
+ std::cout << *wasm << '\n';
Fatal() << "error in validating wasm2js output";
}
#endif