diff options
author | Dan Gohman <gohman@apple.com> | 2010-08-12 23:46:28 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-08-12 23:46:28 +0000 |
commit | b83d1b694a2b2b16c8025b3da96605b3d6f3149f (patch) | |
tree | 2daef6fcee3412b55c6084397aa342a1e5784b8c /llvm/lib/VMCore/PassManager.cpp | |
parent | 04949cc65e839a38e3561c2f6ed5ed2b13d4ec64 (diff) | |
download | bcm5719-llvm-b83d1b694a2b2b16c8025b3da96605b3d6f3149f.tar.gz bcm5719-llvm-b83d1b694a2b2b16c8025b3da96605b3d6f3149f.zip |
Use .empty() instead of .size().
llvm-svn: 110981
Diffstat (limited to 'llvm/lib/VMCore/PassManager.cpp')
-rw-r--r-- | llvm/lib/VMCore/PassManager.cpp | 2 |
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. |