From: Chris Lattner Date: Sun, 6 Mar 2005 05:55:40 +0000 (+0000) Subject: rename insertEntry to insert X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f1b4d1dee60c498c5c9c4485bbceb8168033580b;p=oota-llvm.git rename insertEntry to insert git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20484 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/SymbolTable.cpp b/lib/VMCore/SymbolTable.cpp index 1a9e534ffc9..0881c418969 100644 --- a/lib/VMCore/SymbolTable.cpp +++ b/lib/VMCore/SymbolTable.cpp @@ -233,7 +233,8 @@ void SymbolTable::insertEntry(const std::string &Name, const Type *VTy, // insertEntry - Insert a value into the symbol table with the specified // name... // -void SymbolTable::insertEntry(const std::string& Name, const Type* T) { +void SymbolTable::insert(const std::string& Name, const Type* T) { + assert(T && "Can't insert null type into symbol table!"); // Check to see if there is a naming conflict. If so, rename this type! std::string UniqueName = Name;