diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp index acdeea3f2ac..a331253a330 100644 --- a/lib/VMCore/PassManager.cpp +++ b/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.