Changes in directory llvm/lib/VMCore:

Type.cpp updated: 1.138 -> 1.139
---
Log message:

Remove a hack required by V9.


---
Diffs of the changes:  (+2 -4)

 Type.cpp |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)


Index: llvm/lib/VMCore/Type.cpp
diff -u llvm/lib/VMCore/Type.cpp:1.138 llvm/lib/VMCore/Type.cpp:1.139
--- llvm/lib/VMCore/Type.cpp:1.138      Sat Apr  1 23:40:28 2006
+++ llvm/lib/VMCore/Type.cpp    Fri Apr 21 10:33:35 2006
@@ -1192,10 +1192,8 @@
 
 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);



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to