[llvm-commits] [llvm] r72239 - /llvm/trunk/lib/VMCore/Type.cpp

Dan Gohman gohman at apple.com
Thu May 21 17:40:36 PDT 2009


Author: djg
Date: Thu May 21 19:40:35 2009
New Revision: 72239

URL: http://llvm.org/viewvc/llvm-project?rev=72239&view=rev
Log:
Update an assertion string to new-style type names.

Modified:
    llvm/trunk/lib/VMCore/Type.cpp

Modified: llvm/trunk/lib/VMCore/Type.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Type.cpp?rev=72239&r1=72238&r2=72239&view=diff

==============================================================================
--- llvm/trunk/lib/VMCore/Type.cpp (original)
+++ llvm/trunk/lib/VMCore/Type.cpp Thu May 21 19:40:35 2009
@@ -1198,7 +1198,7 @@
 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);
 





More information about the llvm-commits mailing list