Changes in directory llvm/include/llvm:
TypeSymbolTable.h updated: 1.6 -> 1.7 --- Log message: 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. --- Diffs of the changes: (+0 -5) TypeSymbolTable.h | 5 ----- 1 files changed, 5 deletions(-) Index: llvm/include/llvm/TypeSymbolTable.h diff -u llvm/include/llvm/TypeSymbolTable.h:1.6 llvm/include/llvm/TypeSymbolTable.h:1.7 --- llvm/include/llvm/TypeSymbolTable.h:1.6 Tue Feb 6 23:29:34 2007 +++ llvm/include/llvm/TypeSymbolTable.h Tue Feb 6 23:35:58 2007 @@ -113,11 +113,6 @@ /// @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 /// @{ _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits