Eliminate a bunch of work from ValueSymbolTable::insert for the common case
authorChris Lattner <sabre@nondot.org>
Wed, 7 Feb 2007 05:22:49 +0000 (05:22 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 7 Feb 2007 05:22:49 +0000 (05:22 +0000)
commitf5111552c24d0dcea3b7b1a9c0d2c1f338191891
treed06e9b67a792f87015f80e31984fa7c32ab05a46
parent670ccfe6a473c3fdab6bc958ad9fc74ef54031d3
Eliminate a bunch of work from ValueSymbolTable::insert for the common case
where a symbol name doesn't conflict.  This speeds up bc reading 16% on 176.gcc!

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