diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-07 05:35:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-07 05:35:58 +0000 |
commit | 58f84d4b2ddee76d594a1cdfeffaea6417ed0a20 (patch) | |
tree | 343023065e4d83b9d620c6eb441471c5f3a243e3 /include/llvm/TypeSymbolTable.h | |
parent | 67408dab1b50e17decf788c119ca0194fc7024a6 (diff) |
Eliminate the O(n) version of TypeSymbolTable::remove, it is dead. When
inserting a type into the type symbol table, only compute unique name if not
in symtab already.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33983 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/TypeSymbolTable.h')
-rw-r--r-- | include/llvm/TypeSymbolTable.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/TypeSymbolTable.h b/include/llvm/TypeSymbolTable.h index ffea6d7340..dd26001422 100644 --- a/include/llvm/TypeSymbolTable.h +++ b/include/llvm/TypeSymbolTable.h @@ -113,11 +113,6 @@ public: /// @returns the Type that was erased from the symbol table. Type* remove(iterator TI); - /// Remove a specific Type from the symbol table. This isn't fast, linear - /// search, O(n), algorithm. - /// @returns true if the erase was successful (TI was found) - bool remove(Type* TI); - /// @} /// @name AbstractTypeUser Methods /// @{ |