summaryrefslogtreecommitdiff
path: root/src/passes/NameList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/NameList.cpp')
-rw-r--r--src/passes/NameList.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/passes/NameList.cpp b/src/passes/NameList.cpp
index 1051a31d1..a0078e263 100644
--- a/src/passes/NameList.cpp
+++ b/src/passes/NameList.cpp
@@ -26,6 +26,8 @@
namespace wasm {
struct NameList : public Pass {
+ bool modifiesBinaryenIR() override { return false; }
+
void run(PassRunner* runner, Module* module) override {
ModuleUtils::iterDefinedFunctions(*module, [&](Function* func) {
std::cout << " " << func->name << " : "