[llvm-commits] CVS: llvm/include/llvm/ADT/BitVector.h
Evan Cheng
evan.cheng at apple.com
Thu Feb 15 11:29:24 PST 2007
Changes in directory llvm/include/llvm/ADT:
BitVector.h updated: 1.12 -> 1.13
---
Log message:
Missing a ;
---
Diffs of the changes: (+2 -3)
BitVector.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
Index: llvm/include/llvm/ADT/BitVector.h
diff -u llvm/include/llvm/ADT/BitVector.h:1.12 llvm/include/llvm/ADT/BitVector.h:1.13
--- llvm/include/llvm/ADT/BitVector.h:1.12 Thu Feb 15 13:21:44 2007
+++ llvm/include/llvm/ADT/BitVector.h Thu Feb 15 13:29:05 2007
@@ -98,7 +98,7 @@
else if (sizeof(BitWord) == 8)
NumBits += CountPopulation_64(Bits[i]);
else
- assert(0 && "Unsupported!")
+ assert(0 && "Unsupported!");
return NumBits;
}
@@ -160,8 +160,7 @@
init_words(&Bits[OldCapacity], (Capacity-OldCapacity), t);
}
Size = N;
- if (t)
- clear_unused_bits();
+ clear_unused_bits();
}
void reserve(unsigned N) {
More information about the llvm-commits
mailing list