mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Update an assertion string to new-style type names.
llvm-svn: 72239
This commit is contained in:
parent
dd4f34ed9a
commit
67af546881
@ -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…
x
Reference in New Issue
Block a user