#
7c7b9a28 |
| 09-Feb-2010 |
Dale Johannesen <dalej@apple.com> |
Disable unittests/ADT/BitVectorTest on PPC Darwin. It fails with a release build only, for reasons as yet unknown. (If there's a better way to Xfail things here let me know, doesn't seem to be any p
Disable unittests/ADT/BitVectorTest on PPC Darwin. It fails with a release build only, for reasons as yet unknown. (If there's a better way to Xfail things here let me know, doesn't seem to be any prior art in unittests.)
llvm-svn: 95700
show more ...
|
#
5976e7d5 |
| 05-Jan-2010 |
Dan Gohman <gohman@apple.com> |
Add a SmallBitVector class, which mimics BitVector but uses only a single pointer (PointerIntPair) member. In "small" mode, the pointer field is reinterpreted as a set of bits. In "large" mode, the p
Add a SmallBitVector class, which mimics BitVector but uses only a single pointer (PointerIntPair) member. In "small" mode, the pointer field is reinterpreted as a set of bits. In "large" mode, the pointer points to a heap-allocated object.
Also, give BitVector empty and swap functions.
And, add some simple unittests for BitVector and SmallBitVector.
llvm-svn: 92730
show more ...
|