Evan Cheng
|
1f46998b3f
|
Remove unnecessary checks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34319 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-02-15 19:18:12 +00:00 |
|
Evan Cheng
|
638417f788
|
operator== returns false when two bitvectors have different sizes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34317 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-02-15 19:16:21 +00:00 |
|
Evan Cheng
|
c761df18ae
|
Merges two resize() variants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34316 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-02-15 19:12:39 +00:00 |
|
Evan Cheng
|
ccae61c5da
|
Clear no longer deleting the bits to avoid mallocs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34315 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-02-15 19:10:34 +00:00 |
|
Evan Cheng
|
7bf26c1d68
|
BitVector::count() bugs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34314 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-02-15 19:09:36 +00:00 |
|
Evan Cheng
|
334df9d83f
|
Eliminate a redundent ctor; eliminate one more potential new [0].
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34313 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-02-15 19:05:25 +00:00 |
|
Evan Cheng
|
057f8e0845
|
1 -> 1L since BitWord has type unsigned long.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34312 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-02-15 19:03:23 +00:00 |
|
Evan Cheng
|
5f92ce4696
|
Eliminate new[0], just set Bits to NULL.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34311 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-02-15 18:59:15 +00:00 |
|
Evan Cheng
|
c48aafe6c6
|
Inverted the condition by accident.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34309 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-02-15 18:48:41 +00:00 |
|
Evan Cheng
|
506e899490
|
Bug fixes: assignment operator forgot to copy over size; copy ctor forgot to clear unused top bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34305 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-02-15 08:15:58 +00:00 |
|
Evan Cheng
|
ad1d5c3bc5
|
Add a BitVector class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34301 91177308-0d34-0410-b5e6-96231b3b80d8
|
2007-02-15 05:56:11 +00:00 |
|