summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/PassManager.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-12 23:46:28 +0000
committerDan Gohman <gohman@apple.com>2010-08-12 23:46:28 +0000
commitb83d1b694a2b2b16c8025b3da96605b3d6f3149f (patch)
tree2daef6fcee3412b55c6084397aa342a1e5784b8c /llvm/lib/VMCore/PassManager.cpp
parent04949cc65e839a38e3561c2f6ed5ed2b13d4ec64 (diff)
downloadbcm5719-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.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