Fixed some error messages to be nicer

llvm-svn: 147
This commit is contained in:
Chris Lattner 2001-07-07 08:36:05 +00:00
parent fb41789296
commit 2758aa5683

View File

@ -159,8 +159,8 @@ void SlotCalculator::insertVal(const Value *D) {
// example, if you say 'malloc uint', this defines a type 'uint*' that
// may be undefined at this point.
//
cerr << "SHOULDNT HAPPEN Adding Type ba: " << Typ->getName() << endl;
assert(0 && "SHouldn't this be taken care of by processType!?!?!");
cerr << "SHOULDN'T HAPPEN Adding Type ba: " << Typ->getName() << endl;
assert(0 && "Shouldn't this be taken care of by processType!?!?!");
// Nope... add this to the Type plane now!
insertVal(Typ);