mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-17 00:50:58 +00:00
Remove duplicated comment
The same comment is already made in the header git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182181 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
225ed7069c
commit
24623dcd24
@ -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.");
|
||||
|
Loading…
Reference in New Issue
Block a user