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 | 86fe3a1fdb73cfb43bd0ce881ee3c0aaf192890d (patch) | |
| tree | 7b84026b7ddf329f6150d00f8b3c634f9ca05712 /llvm/lib | |
| parent | 533805e6da9f8c7b0c0392db642008460bac0795 (diff) | |
| download | bcm5719-llvm-86fe3a1fdb73cfb43bd0ce881ee3c0aaf192890d.tar.gz bcm5719-llvm-86fe3a1fdb73cfb43bd0ce881ee3c0aaf192890d.zip | |
rename insertEntry to insert
llvm-svn: 20484
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/VMCore/SymbolTable.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/SymbolTable.cpp b/llvm/lib/VMCore/SymbolTable.cpp index 1a9e534ffc9..0881c418969 100644 --- a/llvm/lib/VMCore/SymbolTable.cpp +++ b/llvm/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; |

