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 | 82c1512ce4ae445ba90efac76eeead93cf97407d (patch) | |
| tree | dc98fd7205b69baf749298191c12ef240763557c /llvm/include | |
| parent | a305422bf529b39f589cb793bf64ccfd77b69b10 (diff) | |
| download | bcm5719-llvm-82c1512ce4ae445ba90efac76eeead93cf97407d.tar.gz bcm5719-llvm-82c1512ce4ae445ba90efac76eeead93cf97407d.zip | |
Drop the default assumption about alignment down to 2 bits from 3. This apparently
helps some problems on win32 platforms (PR4119)
llvm-svn: 70603
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/Support/PointerLikeTypeTraits.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/PointerLikeTypeTraits.h b/llvm/include/llvm/Support/PointerLikeTypeTraits.h index c5f79ccb835..b0edd3bd09f 100644 --- a/llvm/include/llvm/Support/PointerLikeTypeTraits.h +++ b/llvm/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. |

