diff options
Diffstat (limited to 'polly/lib/Analysis/ScopInfo.cpp')
| -rw-r--r-- | polly/lib/Analysis/ScopInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp index d0247e8055d..a782930f16a 100644 --- a/polly/lib/Analysis/ScopInfo.cpp +++ b/polly/lib/Analysis/ScopInfo.cpp @@ -3746,7 +3746,7 @@ void Scop::removeStmts(std::function<bool(ScopStmt &)> ShouldDelete) { void Scop::removeStmtNotInDomainMap() { auto ShouldDelete = [this](ScopStmt &Stmt) -> bool { - return !this->DomainMap[Stmt.getEntryBlock()]; + return !this->DomainMap.lookup(Stmt.getEntryBlock()); }; removeStmts(ShouldDelete); } |

