Slightly increase default set size. It's cheap and won't hurt.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48682 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov 2008-03-22 07:48:40 +00:00
parent aff167819b
commit 89a3d3f25c

View File

@ -232,7 +232,7 @@ const GlobalValue *GlobalAlias::getAliasedGlobal() const {
} }
const GlobalValue *GlobalAlias::resolveAliasedGlobal() const { const GlobalValue *GlobalAlias::resolveAliasedGlobal() const {
SmallPtrSet<const GlobalValue*, 1> Visited; SmallPtrSet<const GlobalValue*, 3> Visited;
const GlobalValue *GV = getAliasedGlobal(); const GlobalValue *GV = getAliasedGlobal();
Visited.insert(GV); Visited.insert(GV);