diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-06 05:55:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-06 05:55:40 +0000 |
commit | f1b4d1dee60c498c5c9c4485bbceb8168033580b (patch) | |
tree | a22ae638b649ec499d965b38c3bb54ce9043495c /lib/VMCore | |
parent | e4c872a8fae012699066e3b6eb2ab0a6f7a4681b (diff) | |
download | external_llvm-f1b4d1dee60c498c5c9c4485bbceb8168033580b.zip external_llvm-f1b4d1dee60c498c5c9c4485bbceb8168033580b.tar.gz external_llvm-f1b4d1dee60c498c5c9c4485bbceb8168033580b.tar.bz2 |
rename insertEntry to insert
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20484 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/SymbolTable.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/VMCore/SymbolTable.cpp b/lib/VMCore/SymbolTable.cpp index 1a9e534..0881c41 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; |