diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-06 05:22:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-06 05:22:05 +0000 |
commit | c9a33cefb8437309a7a8762013bad7f4bedb8c48 (patch) | |
tree | b68156185c213206572f8ccb05fb224255df4ded | |
parent | a98cbe57ea971c707fb5b4c679e72eff8b251833 (diff) |
InternallyInconsistent is dead!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20478 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/SymbolTable.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/include/llvm/SymbolTable.h b/include/llvm/SymbolTable.h index a58a051499..1576c97916 100644 --- a/include/llvm/SymbolTable.h +++ b/include/llvm/SymbolTable.h @@ -79,8 +79,7 @@ public: /// @{ public: - inline SymbolTable() - : pmap(), tmap(), InternallyInconsistent(false), LastUnique(0) {} + SymbolTable() : LastUnique(0) {} ~SymbolTable(); /// @} @@ -322,15 +321,6 @@ private: /// 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; |