switch TypeHasCycleThroughItself from using an std::set to using a SmallPtrSet,
authorChris Lattner <sabre@nondot.org>
Mon, 16 Jun 2008 21:20:58 +0000 (21:20 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 16 Jun 2008 21:20:58 +0000 (21:20 +0000)
commitd34ff143588df2c8a5e69d8f2674dd4c6b38428f
tree8818abbac8b3103e35b38a653a8d73b6e64107ac
parenta4477f9b31ce0b6fadc5365ff9355679c1ecb954
switch TypeHasCycleThroughItself from using an std::set to using a SmallPtrSet,
this speeds up the linking testcase in PR1860 by 44% (.379 -> 0.263)

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