projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09c45d2
)
Use .empty() instead of .size().
author
Dan Gohman
<gohman@apple.com>
Thu, 12 Aug 2010 23:46:28 +0000
(23:46 +0000)
committer
Dan Gohman
<gohman@apple.com>
Thu, 12 Aug 2010 23:46:28 +0000
(23:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110981
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/PassManager.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/PassManager.cpp
b/lib/VMCore/PassManager.cpp
index acdeea3f2acd4ca238fdca4905831c65e7851121..a331253a330c2911ed89bd309167664d339448a8 100644
(file)
--- 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.