[llvm-commits] CVS: llvm/include/llvm/SymbolTable.h

Chris Lattner lattner at cs.uiuc.edu
Sat Mar 5 21:22:18 PST 2005



Changes in directory llvm/include/llvm:

SymbolTable.h updated: 1.43 -> 1.44
---
Log message:

InternallyInconsistent is dead!


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

 SymbolTable.h |   12 +-----------
 1 files changed, 1 insertion(+), 11 deletions(-)


Index: llvm/include/llvm/SymbolTable.h
diff -u llvm/include/llvm/SymbolTable.h:1.43 llvm/include/llvm/SymbolTable.h:1.44
--- llvm/include/llvm/SymbolTable.h:1.43	Sat Mar  5 20:38:24 2005
+++ llvm/include/llvm/SymbolTable.h	Sat Mar  5 23:22:05 2005
@@ -79,8 +79,7 @@
 /// @{
 public:
 
-  inline SymbolTable() 
-    : pmap(), tmap(), InternallyInconsistent(false), LastUnique(0) {}
+  SymbolTable() : LastUnique(0) {}
   ~SymbolTable();
 
 /// @}
@@ -322,15 +321,6 @@
   /// name/Value pairs and Type is not a Value.
   TypeMap tmap;
 
-  /// There are times when the symbol table is internally inconsistent with 
-  /// the rest of the program.  In this one case, a value exists with a Name, 
-  /// and it's not in the symbol table.  When we call V->setName(""), it 
-  /// tries to remove itself from the symbol table and dies.  We know this 
-  /// is happening, and so if the flag InternallyInconsistent is set, 
-  /// removal from the symbol table is a noop.
-  /// @brief Indicator of symbol table internal inconsistency.
-  bool InternallyInconsistent;
-
   /// This value is used to retain the last unique value used
   /// by getUniqueName to generate unique names.
   mutable unsigned long LastUnique;






More information about the llvm-commits mailing list