summaryrefslogtreecommitdiff
path: root/src/wasm-printing.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-printing.h')
-rw-r--r--src/wasm-printing.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm-printing.h b/src/wasm-printing.h
index c8b44e394..3b5b94cc2 100644
--- a/src/wasm-printing.h
+++ b/src/wasm-printing.h
@@ -27,6 +27,7 @@ namespace wasm {
struct WasmPrinter {
static std::ostream& printModule(Module* module, std::ostream& o) {
PassRunner passRunner(module);
+ passRunner.setFeatures(Feature::All);
passRunner.setIsNested(true);
passRunner.add<Printer>(&o);
passRunner.run();