Update an assertion string to new-style type names.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72239 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2009-05-22 00:40:35 +00:00
parent cf69a743b7
commit fea3da9e58

View File

@ -1198,7 +1198,7 @@ static ManagedStatic<TypeMap<PointerValType, PointerType> > PointerTypes;
PointerType *PointerType::get(const Type *ValueType, unsigned AddressSpace) { PointerType *PointerType::get(const Type *ValueType, unsigned AddressSpace) {
assert(ValueType && "Can't get a pointer to <null> type!"); assert(ValueType && "Can't get a pointer to <null> type!");
assert(ValueType != Type::VoidTy && assert(ValueType != Type::VoidTy &&
"Pointer to void is not valid, use sbyte* instead!"); "Pointer to void is not valid, use i8* instead!");
assert(ValueType != Type::LabelTy && "Pointer to label is not valid!"); assert(ValueType != Type::LabelTy && "Pointer to label is not valid!");
PointerValType PVT(ValueType, AddressSpace); PointerValType PVT(ValueType, AddressSpace);