use a real associative container for type association instead of using
authorChris Lattner <sabre@nondot.org>
Mon, 16 Jun 2008 21:00:18 +0000 (21:00 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 16 Jun 2008 21:00:18 +0000 (21:00 +0000)
commit62a81a1eba019ab570b002f8e1686494139785a1
treedb072c729c2e786e9da78728472e15f064fb1480
parent6bd9567a6a1ba62118cdd258ddc52ea8f82ff511
use a real associative container for type association instead of using
a vector with a linear search.  This speeds up the linking testcase
in PR1860 from 0.965s to 0.385s on my system.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52357 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Linker/LinkModules.cpp