Fixed some error messages to be nicer
authorChris Lattner <sabre@nondot.org>
Sat, 7 Jul 2001 08:36:05 +0000 (08:36 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 7 Jul 2001 08:36:05 +0000 (08:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bytecode/Writer/SlotCalculator.cpp
lib/VMCore/SlotCalculator.cpp

index f7eada141833aa13bb3cafd69fc8c980c31c09b9..d96f829cb4fc98fd95e52e1dc52ed535580bdb5f 100644 (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);
 
index f7eada141833aa13bb3cafd69fc8c980c31c09b9..d96f829cb4fc98fd95e52e1dc52ed535580bdb5f 100644 (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);