From: Chris Lattner Date: Fri, 21 Apr 2006 15:33:35 +0000 (+0000) Subject: Remove a hack required by V9. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a5d824e90cddd5816ca7ab8a608d8faa1a289410;p=oota-llvm.git Remove a hack required by V9. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27931 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/Type.cpp b/lib/VMCore/Type.cpp index 767df24f279..335bc4ee525 100644 --- a/lib/VMCore/Type.cpp +++ b/lib/VMCore/Type.cpp @@ -1192,10 +1192,8 @@ static TypeMap PointerTypes; PointerType *PointerType::get(const Type *ValueType) { assert(ValueType && "Can't get a pointer to type!"); - // FIXME: The sparc backend makes void pointers, which is horribly broken. - // "Fix" it, then reenable this assertion. - //assert(ValueType != Type::VoidTy && - // "Pointer to void is not valid, use sbyte* instead!"); + assert(ValueType != Type::VoidTy && + "Pointer to void is not valid, use sbyte* instead!"); PointerValType PVT(ValueType); PointerType *PT = PointerTypes.get(PVT);