diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-05-18 00:24:09 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-05-18 00:24:09 +0000 |
commit | e858e960c2ab01376488bff2e837a05093ef23cc (patch) | |
tree | 9ae019c41d53e4577b16cb31d23d0e9726f2ec32 /llvm/lib/IR/DataLayout.cpp | |
parent | 75865923c9c688fad73abf8113338653c907229c (diff) | |
download | bcm5719-llvm-e858e960c2ab01376488bff2e837a05093ef23cc.tar.gz bcm5719-llvm-e858e960c2ab01376488bff2e837a05093ef23cc.zip |
Remove duplicated comment
The same comment is already made in the header
llvm-svn: 182181
Diffstat (limited to 'llvm/lib/IR/DataLayout.cpp')
-rw-r--r-- | llvm/lib/IR/DataLayout.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/IR/DataLayout.cpp b/llvm/lib/IR/DataLayout.cpp index 5658f561144..d3669f9c01e 100644 --- a/llvm/lib/IR/DataLayout.cpp +++ b/llvm/lib/IR/DataLayout.cpp @@ -601,16 +601,11 @@ unsigned DataLayout::getPreferredTypeAlignmentShift(Type *Ty) const { return Log2_32(Align); } -/// getIntPtrType - Return an integer type with size at least as big as that -/// of a pointer in the given address space. IntegerType *DataLayout::getIntPtrType(LLVMContext &C, unsigned AddressSpace) const { return IntegerType::get(C, getPointerSizeInBits(AddressSpace)); } -/// getIntPtrType - Return an integer (vector of integer) type with size at -/// least as big as that of a pointer of the given pointer (vector of pointer) -/// type. Type *DataLayout::getIntPtrType(Type *Ty) const { assert(Ty->isPtrOrPtrVectorTy() && "Expected a pointer or pointer vector type."); |