Fix paste-o in ExtractValueInst::getIndexedType() comments.

llvm-svn: 120804
This commit is contained in:
Frits van Bommel 2010-12-03 14:54:33 +00:00
parent 0ae5320f11
commit c03ee3eac6

View File

@ -1450,8 +1450,7 @@ class ExtractValueInst : public UnaryInstruction {
/// getIndexedType - Returns the type of the element that would be extracted
/// with an extractvalue instruction with the specified parameters.
///
/// Null is returned if the indices are invalid for the specified
/// pointer type.
/// Null is returned if the indices are invalid for the specified type.
///
static const Type *getIndexedType(const Type *Agg,
const unsigned *Idx, unsigned NumIdx);
@ -1534,8 +1533,7 @@ public:
/// getIndexedType - Returns the type of the element that would be extracted
/// with an extractvalue instruction with the specified parameters.
///
/// Null is returned if the indices are invalid for the specified
/// pointer type.
/// Null is returned if the indices are invalid for the specified type.
///
template<typename RandomAccessIterator>
static const Type *getIndexedType(const Type *Ptr,