summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/PassManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/PassManager.cpp b/llvm/lib/VMCore/PassManager.cpp
index acdeea3f2ac..a331253a330 100644
--- a/llvm/lib/VMCore/PassManager.cpp
+++ b/llvm/lib/VMCore/PassManager.cpp
@@ -737,7 +737,7 @@ void PMDataManager::recordAvailableAnalysis(Pass *P) {
AvailableAnalysis[PI] = P;
- assert(AvailableAnalysis.size());
+ assert(!AvailableAnalysis.empty());
//This pass is the current implementation of all of the interfaces it
//implements as well.
OpenPOWER on IntegriCloud