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 18139de3f..cddf8785f 100644
--- a/src/passes/Precompute.cpp
+++ b/src/passes/Precompute.cpp
@@ -370,7 +370,7 @@ private:
// compute other sets as locals (since some of the gets they read may be
// constant).
// compute all dependencies
- LocalGraph localGraph(func);
+ LocalGraph localGraph(func, getModule());
localGraph.computeInfluences();
// prepare the work list. we add things here that might change to a constant
// initially, that means everything