mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Some versions of GCC don't like non-static data members in sizeof
in this context. llvm-svn: 92731
This commit is contained in:
parent
090f279ac5
commit
66ee3816ef
@ -35,7 +35,7 @@ class SmallBitVector {
|
||||
PointerIntPair<BitVector *, 1, uintptr_t> X;
|
||||
|
||||
// The number of bits in this class.
|
||||
static const size_t NumBaseBits = sizeof(X) * CHAR_BIT;
|
||||
static const size_t NumBaseBits = sizeof(uintptr_t) * CHAR_BIT;
|
||||
|
||||
// One bit is used to discriminate between small and large mode. The
|
||||
// remaining bits are used for the small-mode representation.
|
||||
|
Loading…
x
Reference in New Issue
Block a user