Update an assertion string to new-style type names.
authorDan Gohman <gohman@apple.com>
Fri, 22 May 2009 00:40:35 +0000 (00:40 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 22 May 2009 00:40:35 +0000 (00:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72239 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Type.cpp

index 4a53fcf6f835570b2f08db2f66437cde6238d28a..5dd91b3d07095537692d32d1fa2db778fcc3b104 100644 (file)
@@ -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);