Drop the default assumption about alignment down to 2 bits from 3. This apparently

helps some problems on win32 platforms (PR4119)

llvm-svn: 70603
This commit is contained in:
Chris Lattner 2009-05-01 23:48:33 +00:00
parent 6aa1fd5065
commit b7947ae607

View File

@ -44,7 +44,7 @@ public:
///
/// All clients should use assertions to do a run-time check to ensure that
/// this is actually true.
enum { NumLowBitsAvailable = 3 };
enum { NumLowBitsAvailable = 2 };
};
// Provide PointerLikeTypeTraits for const pointers.
@ -55,7 +55,7 @@ public:
static inline const T *getFromVoidPointer(const void *P) {
return static_cast<const T*>(P);
}
enum { NumLowBitsAvailable = 3 };
enum { NumLowBitsAvailable = 2 };
};
// Provide PointerLikeTypeTraits for uintptr_t.