Change TargetData::getIntPtrType() to return an IntegerType instead of

just a Type.

llvm-svn: 71426
This commit is contained in:
Jay Foad
2009-05-11 11:13:47 +00:00
parent ea5a8d8808
commit ada3549ae1
2 changed files with 3 additions and 4 deletions

View File

@@ -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());
}