summaryrefslogtreecommitdiff
path: root/src/passes/Print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r--src/passes/Print.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index 854934204..0533b9786 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -3714,4 +3714,9 @@ std::ostream& operator<<(std::ostream& o, wasm::StackInst& inst) {
return wasm::printStackInst(&inst, o);
}
+std::ostream& operator<<(std::ostream& o, wasm::ModuleType pair) {
+ wasm::printTypeOrName(pair.second, o, &pair.first);
+ return o;
+}
+
} // namespace std