summaryrefslogtreecommitdiff
path: root/src/tools/wasm-shell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/wasm-shell.cpp')
-rw-r--r--src/tools/wasm-shell.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/wasm-shell.cpp b/src/tools/wasm-shell.cpp
index c0d02ee15..08c76ac9c 100644
--- a/src/tools/wasm-shell.cpp
+++ b/src/tools/wasm-shell.cpp
@@ -28,7 +28,6 @@
#include "support/command-line.h"
#include "support/file.h"
#include "wasm-interpreter.h"
-#include "wasm-printing.h"
#include "wasm-s-parser.h"
#include "wasm-validator.h"
@@ -311,7 +310,7 @@ int main(int argc, const char* argv[]) {
modules[moduleName]->features = FeatureSet::All;
bool valid = WasmValidator().validate(*modules[moduleName]);
if (!valid) {
- WasmPrinter::printModule(modules[moduleName].get());
+ std::cout << *modules[moduleName] << '\n';
Fatal() << "module failed to validate, see above";
}
run_asserts(moduleName,