[llvm-commits] CVS: llvm/lib/VMCore/SymbolTable.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Mar 5 21:55:56 PST 2005



Changes in directory llvm/lib/VMCore:

SymbolTable.cpp updated: 1.57 -> 1.58
---
Log message:

rename insertEntry to insert


---
Diffs of the changes:  (+2 -1)

 SymbolTable.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/VMCore/SymbolTable.cpp
diff -u llvm/lib/VMCore/SymbolTable.cpp:1.57 llvm/lib/VMCore/SymbolTable.cpp:1.58
--- llvm/lib/VMCore/SymbolTable.cpp:1.57	Sat Mar  5 23:51:09 2005
+++ llvm/lib/VMCore/SymbolTable.cpp	Sat Mar  5 23:55:40 2005
@@ -233,7 +233,8 @@
 // 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;






More information about the llvm-commits mailing list