Use .empty() instead of .size().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110981 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2010-08-12 23:46:28 +00:00
parent 09c45d2fe8
commit 9e2f6284bc

View File

@ -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.