diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-07-12 11:36:58 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-07-12 11:36:58 +0000 |
commit | 6c3501d5c66a90aa82a278cc368e18fabfdb8199 (patch) | |
tree | e54df9b19b8b502b4a00cad19a8efce52ce8d9bb /llvm/lib | |
parent | 4678f671393c164ac41c45c981ddb1cf2cedbd84 (diff) | |
download | bcm5719-llvm-6c3501d5c66a90aa82a278cc368e18fabfdb8199.tar.gz bcm5719-llvm-6c3501d5c66a90aa82a278cc368e18fabfdb8199.zip |
Remove IntegerType constness from TargetData
llvm-svn: 134978
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/TargetData.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetData.cpp b/llvm/lib/Target/TargetData.cpp index 6309a1572c5..b2c4b21f680 100644 --- a/llvm/lib/Target/TargetData.cpp +++ b/llvm/lib/Target/TargetData.cpp @@ -535,7 +535,7 @@ unsigned 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 IntegerType *TargetData::getIntPtrType(LLVMContext &C) const { +IntegerType *TargetData::getIntPtrType(LLVMContext &C) const { return IntegerType::get(C, getPointerSizeInBits()); } |