[llvm-commits] CVS: llvm/include/llvm/ADT/BitVector.h
Reid Spencer
reid at x10sys.com
Thu Feb 15 12:14:23 PST 2007
Changes in directory llvm/include/llvm/ADT:
BitVector.h updated: 1.13 -> 1.14
---
Log message:
Make sure Capacity gets initialized too.
---
Diffs of the changes: (+1 -0)
BitVector.h | 1 +
1 files changed, 1 insertion(+)
Index: llvm/include/llvm/ADT/BitVector.h
diff -u llvm/include/llvm/ADT/BitVector.h:1.13 llvm/include/llvm/ADT/BitVector.h:1.14
--- llvm/include/llvm/ADT/BitVector.h:1.13 Thu Feb 15 13:29:05 2007
+++ llvm/include/llvm/ADT/BitVector.h Thu Feb 15 14:14:06 2007
@@ -78,6 +78,7 @@
BitVector(const BitVector &RHS) : Size(RHS.size()) {
if (Size == 0) {
Bits = NULL;
+ Capacity = 0;
return;
}
More information about the llvm-commits
mailing list