From 3fa0bc4408486327411da7fff2c5c55d8c0a3dd4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 7 Jul 2001 08:36:05 +0000 Subject: [PATCH] Fixed some error messages to be nicer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bytecode/Writer/SlotCalculator.cpp | 4 ++-- lib/VMCore/SlotCalculator.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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); -- 2.34.1