Fixed some error messages to be nicer

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2001-07-07 08:36:05 +00:00
parent 0aa1d5e02f
commit 3fa0bc4408
2 changed files with 4 additions and 4 deletions

View File

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

View File

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