[llvm-commits] CVS: llvm/include/llvm/ADT/BitVector.h

Reid Spencer rspencer at reidspencer.com
Thu Feb 15 11:51:53 PST 2007


Evan,

BitVector is still very broken. Please run the llvm/test suite. Numerous
tests are failing, all in BitVector. This is preventing me from testing
today.

Reid.

On Thu, 2007-02-15 at 13:29 -0600, Evan Cheng wrote:
> 
> 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) {
> 
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list