summaryrefslogtreecommitdiff
path: root/src/passes/LoopInvariantCodeMotion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/LoopInvariantCodeMotion.cpp')
-rw-r--r--src/passes/LoopInvariantCodeMotion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/LoopInvariantCodeMotion.cpp b/src/passes/LoopInvariantCodeMotion.cpp
index 4239e39c3..321267e8e 100644
--- a/src/passes/LoopInvariantCodeMotion.cpp
+++ b/src/passes/LoopInvariantCodeMotion.cpp
@@ -228,7 +228,7 @@ struct LoopInvariantCodeMotion
bool hasGetDependingOnLoopSet(Expression* curr, LoopSets& loopSets) {
FindAll<LocalGet> gets(curr);
for (auto* get : gets.list) {
- auto& sets = localGraph->getSetses[get];
+ auto& sets = localGraph->getSets(get);
for (auto* set : sets) {
// nullptr means a parameter or zero-init value;
// no danger to us.