[llvm-commits] CVS: llvm/lib/VMCore/Type.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Apr 21 08:33:47 PDT 2006
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);
More information about the llvm-commits
mailing list