Remove a hack required by V9.

llvm-svn: 27931
This commit is contained in:
Chris Lattner 2006-04-21 15:33:35 +00:00
parent 662e940f73
commit 28ead23d1c
1 changed files with 2 additions and 4 deletions

View File

@ -1192,10 +1192,8 @@ static TypeMap<PointerValType, PointerType> PointerTypes;
PointerType *PointerType::get(const Type *ValueType) {
assert(ValueType && "Can't get a pointer to <null> 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);