From faa7d055de46aae21dc12d0b2b24cf6c9c48a630 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 22 May 2009 00:40:35 +0000 Subject: [PATCH] Update an assertion string to new-style type names. llvm-svn: 72239 --- llvm/lib/VMCore/Type.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/VMCore/Type.cpp b/llvm/lib/VMCore/Type.cpp index 4a53fcf6f835..5dd91b3d0709 100644 --- a/llvm/lib/VMCore/Type.cpp +++ b/llvm/lib/VMCore/Type.cpp @@ -1198,7 +1198,7 @@ static ManagedStatic > PointerTypes; PointerType *PointerType::get(const Type *ValueType, unsigned AddressSpace) { assert(ValueType && "Can't get a pointer to 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); -- GitLab