From: Chris Lattner Date: Sat, 7 Jul 2001 08:36:05 +0000 (+0000) Subject: Fixed some error messages to be nicer X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3fa0bc4408486327411da7fff2c5c55d8c0a3dd4;p=oota-llvm.git Fixed some error messages to be nicer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Bytecode/Writer/SlotCalculator.cpp b/lib/Bytecode/Writer/SlotCalculator.cpp index f7eada14183..d96f829cb4f 100644 --- a/lib/Bytecode/Writer/SlotCalculator.cpp +++ b/lib/Bytecode/Writer/SlotCalculator.cpp @@ -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); diff --git a/lib/VMCore/SlotCalculator.cpp b/lib/VMCore/SlotCalculator.cpp index f7eada14183..d96f829cb4f 100644 --- a/lib/VMCore/SlotCalculator.cpp +++ b/lib/VMCore/SlotCalculator.cpp @@ -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);