summaryrefslogtreecommitdiff
path: root/src/passes/PrintCallGraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/PrintCallGraph.cpp')
-rw-r--r--src/passes/PrintCallGraph.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/passes/PrintCallGraph.cpp b/src/passes/PrintCallGraph.cpp
index ac11dfb8b..fa58e3859 100644
--- a/src/passes/PrintCallGraph.cpp
+++ b/src/passes/PrintCallGraph.cpp
@@ -29,6 +29,8 @@
namespace wasm {
struct PrintCallGraph : public Pass {
+ bool modifiesBinaryenIR() override { return false; }
+
void run(PassRunner* runner, Module* module) override {
std::ostream &o = std::cout;
o << "digraph call {\n"