summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-05-01 23:48:33 +0000
committerChris Lattner <sabre@nondot.org>2009-05-01 23:48:33 +0000
commit82c1512ce4ae445ba90efac76eeead93cf97407d (patch)
treedc98fd7205b69baf749298191c12ef240763557c /llvm/include
parenta305422bf529b39f589cb793bf64ccfd77b69b10 (diff)
downloadbcm5719-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.h4
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.
OpenPOWER on IntegriCloud