summaryrefslogtreecommitdiff
path: root/src/passes/OnceReduction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/OnceReduction.cpp')
-rw-r--r--src/passes/OnceReduction.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/passes/OnceReduction.cpp b/src/passes/OnceReduction.cpp
index fd38aeafe..1eb76c29e 100644
--- a/src/passes/OnceReduction.cpp
+++ b/src/passes/OnceReduction.cpp
@@ -84,6 +84,8 @@ struct OptInfo {
struct Scanner : public WalkerPass<PostWalker<Scanner>> {
bool isFunctionParallel() override { return true; }
+ bool modifiesBinaryenIR() override { return false; }
+
Scanner(OptInfo& optInfo) : optInfo(optInfo) {}
Scanner* create() override { return new Scanner(optInfo); }