aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-05-22 00:40:35 +0000
committerDan Gohman <gohman@apple.com>2009-05-22 00:40:35 +0000
commitfea3da9e586718d7aee9e595bc2c32bfba279899 (patch)
tree6560af09eb1ad0f86e668ff46995d4937fd77747
parentcf69a743b7d1babcb87eb73a630d057a89c0527a (diff)
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
-rw-r--r--lib/VMCore/Type.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp
index 4a53fcf6f8..5dd91b3d07 100644
--- a/lib/VMCore/Type.cpp
+++ b/lib/VMCore/Type.cpp
@@ -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);