diff options
author | Chris Lattner <sabre@nondot.org> | 2009-05-01 23:48:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-05-01 23:48:33 +0000 |
commit | ae19684bd150c729c7f6adec53a70f269d1161ef (patch) | |
tree | 79c2d6ea3e02eba3b2becbda0406c83f866a189a /include | |
parent | 4ad1027671a7920c13d22b19ceea52f5186be17b (diff) | |
download | external_llvm-ae19684bd150c729c7f6adec53a70f269d1161ef.zip external_llvm-ae19684bd150c729c7f6adec53a70f269d1161ef.tar.gz external_llvm-ae19684bd150c729c7f6adec53a70f269d1161ef.tar.bz2 |
Drop the default assumption about alignment down to 2 bits from 3. This apparently
helps some problems on win32 platforms (PR4119)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70603 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/PointerLikeTypeTraits.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Support/PointerLikeTypeTraits.h b/include/llvm/Support/PointerLikeTypeTraits.h index c5f79cc..b0edd3b 100644 --- a/include/llvm/Support/PointerLikeTypeTraits.h +++ b/include/llvm/Support/PointerLikeTypeTraits.h @@ -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. |