projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4c872a
)
rename insertEntry to insert
author
Chris Lattner
<sabre@nondot.org>
Sun, 6 Mar 2005 05:55:40 +0000
(
05:55
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 6 Mar 2005 05:55:40 +0000
(
05:55
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20484
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/SymbolTable.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/SymbolTable.cpp
b/lib/VMCore/SymbolTable.cpp
index 1a9e534ffc9926084569b51badc4b5b4ca557188..0881c418969431826a246630457c80ae45bfc724 100644
(file)
--- 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;