diff options
Diffstat (limited to 'src/passes/OptimizeAddedConstants.cpp')
-rw-r--r-- | src/passes/OptimizeAddedConstants.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/OptimizeAddedConstants.cpp b/src/passes/OptimizeAddedConstants.cpp index af5d48be7..8efbcca26 100644 --- a/src/passes/OptimizeAddedConstants.cpp +++ b/src/passes/OptimizeAddedConstants.cpp @@ -359,7 +359,7 @@ private: if (add->left->is<Const>() || add->right->is<Const>()) { // Looks like this might be relevant, check all uses. bool canPropagate = true; - for (auto* get : localGraph->setInfluences[set]) { + for (auto* get : localGraph->getSetInfluences(set)) { auto* parent = parents.getParent(get); // if this is at the top level, it's the whole body - no set can // exist! |