summaryrefslogtreecommitdiff
path: root/src/passes/Precompute.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Precompute.cpp')
-rw-r--r--src/passes/Precompute.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/Precompute.cpp b/src/passes/Precompute.cpp
index 82504bff5..89941a1ae 100644
--- a/src/passes/Precompute.cpp
+++ b/src/passes/Precompute.cpp
@@ -316,7 +316,7 @@ private:
// propagate that 42 along to the users, regardless of whatever the call
// did globally.)
auto values = precomputeValue(Properties::getFallthrough(
- set->value, getPassOptions(), getModule()->features));
+ set->value, getPassOptions(), *getModule()));
// Fix up the value. The computation we just did was to look at the
// fallthrough, then precompute that; that looks through expressions
// that pass through the value. Normally that does not matter here,