summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitada3549ae1e582d1e024e5aa1573cc293438e62c (patch)
tree16cbe6fed19721183bfd67240ea04bc6633d9808 /llvm/lib/Target/TargetData.cpp
parentea5a8d88087f358a0a7cb838d973470d102ebe8a (diff)
downloadbcm5719-llvm-ada3549ae1e582d1e024e5aa1573cc293438e62c.tar.gz
bcm5719-llvm-ada3549ae1e582d1e024e5aa1573cc293438e62c.zip
Change TargetData::getIntPtrType() to return an IntegerType instead of
just a Type. llvm-svn: 71426
Diffstat (limited to 'llvm/lib/Target/TargetData.cpp')
-rw-r--r--llvm/lib/Target/TargetData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetData.cpp b/llvm/lib/Target/TargetData.cpp
index 3ff1f0b20b1..67fefbb70b6 100644
--- a/llvm/lib/Target/TargetData.cpp
+++ b/llvm/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());
}
OpenPOWER on IntegriCloud