mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-03 00:33:09 +00:00
Some versions of GCC don't like non-static data members in sizeof
in this context. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92731 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cb89afc965
commit
ad2cee44e0
@ -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