Slightly increase default set size. It's cheap and won't hurt.
authorAnton Korobeynikov <asl@math.spbu.ru>
Sat, 22 Mar 2008 07:48:40 +0000 (07:48 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sat, 22 Mar 2008 07:48:40 +0000 (07:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48682 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/Globals.cpp

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