Changes in directory llvm/include/llvm/ADT:
BitVector.h updated: 1.2 -> 1.3
---
Log message:
Inverted the condition by accident.
---
Diffs of the changes: (+1 -1)
BitVector.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/include/llvm/ADT/BitVector.h
diff -u llvm/include/llvm/ADT/BitVector.h:1.2
llvm/include/llvm/ADT/BitVector.h:1.3
--- llvm/include/llvm/ADT/BitVector.h:1.2 Thu Feb 15 02:15:58 2007
+++ llvm/include/llvm/ADT/BitVector.h Thu Feb 15 12:48:41 2007
@@ -278,7 +278,7 @@
Size = RHS.size();
unsigned RHSWords = NumBitWords(Size);
- if (Size > Capacity * BITS_PER_WORD) {
+ if (Size <= Capacity * BITS_PER_WORD) {
std::copy(RHS.Bits, &RHS.Bits[RHSWords], Bits);
clear_unused_bits();
return *this;
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits