mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-05 02:16:46 +00:00
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:
parent
cf69a743b7
commit
fea3da9e58
@ -1198,7 +1198,7 @@ static ManagedStatic<TypeMap<PointerValType, PointerType> > PointerTypes;
|
||||
PointerType *PointerType::get(const Type *ValueType, unsigned AddressSpace) {
|
||||
assert(ValueType && "Can't get a pointer to <null> type!");
|
||||
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!");
|
||||
PointerValType PVT(ValueType, AddressSpace);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user