aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/TargetData.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2009-05-11 11:13:47 +0000
committerJay Foad <jay.foad@gmail.com>2009-05-11 11:13:47 +0000
commit7524b5906267e8ea8322c2ef4334f6e3bf0e6d24 (patch)
tree31ab61a4b67b545855484039f6ff90b254216efe /lib/Target/TargetData.cpp
parente0b4b0e436d50d295de2ce6cf602dadc8c853606 (diff)
Change TargetData::getIntPtrType() to return an IntegerType instead of
just a Type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71426 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetData.cpp')
-rw-r--r--lib/Target/TargetData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/TargetData.cpp b/lib/Target/TargetData.cpp
index 3ff1f0b20b..67fefbb70b 100644
--- a/lib/Target/TargetData.cpp
+++ b/lib/Target/TargetData.cpp
@@ -535,7 +535,7 @@ unsigned char TargetData::getPreferredTypeAlignmentShift(const Type *Ty) const {
/// getIntPtrType - Return an unsigned integer type that is the same size or
/// greater to the host pointer size.
-const Type *TargetData::getIntPtrType() const {
+const IntegerType *TargetData::getIntPtrType() const {
return IntegerType::get(getPointerSizeInBits());
}