diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-03-22 07:48:40 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-03-22 07:48:40 +0000 |
commit | 89a3d3f25cf58c940189d87356141d2610042d58 (patch) | |
tree | 45c5137bb82b2643a2694b29345748982a1f4c4a | |
parent | aff167819b8e78424c6de26c90f6d8e1777fe09d (diff) | |
download | external_llvm-89a3d3f25cf58c940189d87356141d2610042d58.zip external_llvm-89a3d3f25cf58c940189d87356141d2610042d58.tar.gz external_llvm-89a3d3f25cf58c940189d87356141d2610042d58.tar.bz2 |
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
-rw-r--r-- | lib/VMCore/Globals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Globals.cpp b/lib/VMCore/Globals.cpp index d66d351..e75b186 100644 --- a/lib/VMCore/Globals.cpp +++ b/lib/VMCore/Globals.cpp @@ -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); |