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:
212e2b9
)
Code in LoopStrengthReduce.cpp depends on SmallBitVector::size() being size_t
author
Yaron Keren
<yaron.keren@gmail.com>
Fri, 20 Jun 2014 12:57:44 +0000
(12:57 +0000)
committer
Yaron Keren
<yaron.keren@gmail.com>
Fri, 20 Jun 2014 12:57:44 +0000
(12:57 +0000)
and not unsigned.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211356
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/SmallBitVector.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/SmallBitVector.h
b/include/llvm/ADT/SmallBitVector.h
index 1e49e27001cf7df13454caece12ab7e3df9fab7d..0922017ea61af94eac59df68e2c5fd0de99801e8 100644
(file)
--- a/
include/llvm/ADT/SmallBitVector.h
+++ b/
include/llvm/ADT/SmallBitVector.h
@@
-169,7
+169,7
@@
public:
}
/// size - Returns the number of bits in this bitvector.
- size_t
ype
size() const {
+ size_t size() const {
return isSmall() ? getSmallSize() : getPointer()->size();
}