This patch fixed the bulk of the BitVector failures. However, there is
still a memory corruption that I'm working on.

Reid.

On Thu, 2007-02-15 at 14:14 -0600, Reid Spencer wrote:
> 
> 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;
>      }
>  
> 
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits@cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to