Delete the really inefficient method: void remove(const Type* Typ);
authorChris Lattner <sabre@nondot.org>
Sun, 6 Mar 2005 05:46:41 +0000 (05:46 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 6 Mar 2005 05:46:41 +0000 (05:46 +0000)
commitc27aa8ddb25d758bd6d3e6e2ab9f2b06206e72ec
treee3e85dc07bd90289c12969528d8267dbd506cdeb
parent1327c5ab990c76bb4f02e5e12434580ce108123e
Delete the really inefficient method: void remove(const Type* Typ);
Speed up the symbol stripping code by avoiding a linear search of the
type table.

Get rid of removeEntry(type_iterator), since 'remove' is exactly the same
operation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20481 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/SymbolTable.cpp