summaryrefslogtreecommitdiff
path: root/src/passes/SimplifyLocals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/SimplifyLocals.cpp')
-rw-r--r--src/passes/SimplifyLocals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/SimplifyLocals.cpp b/src/passes/SimplifyLocals.cpp
index ee0459d7d..7c768d4d4 100644
--- a/src/passes/SimplifyLocals.cpp
+++ b/src/passes/SimplifyLocals.cpp
@@ -1031,7 +1031,7 @@ struct SimplifyLocals
// gotten there thanks to the EquivalentOptimizer. If there are such
// locals, remove all their sets.
UnneededSetRemover setRemover(
- getCounter, func, this->getPassOptions(), this->getModule()->features);
+ getCounter, func, this->getPassOptions(), *this->getModule());
setRemover.setModule(this->getModule());
return eqOpter.anotherCycle || setRemover.removed;