[llvm-commits] CVS: llvm/lib/VMCore/Type.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Mar 28 19:04:02 PST 2004
Changes in directory llvm/lib/VMCore:
Type.cpp updated: 1.97 -> 1.98
---
Log message:
Fix an assertion
Contributed by Reid Spencer
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/VMCore/Type.cpp
diff -u llvm/lib/VMCore/Type.cpp:1.97 llvm/lib/VMCore/Type.cpp:1.98
--- llvm/lib/VMCore/Type.cpp:1.97 Fri Mar 26 15:43:22 2004
+++ llvm/lib/VMCore/Type.cpp Sun Mar 28 18:17:20 2004
@@ -412,7 +412,7 @@
ContainedTys.reserve(Types.size());
bool isAbstract = false;
for (unsigned i = 0; i < Types.size(); ++i) {
- assert(Types[i] != Type::VoidTy && "Void type in method prototype!!");
+ assert(Types[i] != Type::VoidTy && "Void type for structure field!!");
ContainedTys.push_back(PATypeHandle(Types[i], this));
isAbstract |= Types[i]->isAbstract();
}
More information about the llvm-commits
mailing list