[llvm-commits] [llvm] r48682 - /llvm/trunk/lib/VMCore/Globals.cpp
Anton Korobeynikov
asl at math.spbu.ru
Sat Mar 22 00:48:40 PDT 2008
Author: asl
Date: Sat Mar 22 02:48:40 2008
New Revision: 48682
URL: http://llvm.org/viewvc/llvm-project?rev=48682&view=rev
Log:
Slightly increase default set size. It's cheap and won't hurt.
Modified:
llvm/trunk/lib/VMCore/Globals.cpp
Modified: llvm/trunk/lib/VMCore/Globals.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Globals.cpp?rev=48682&r1=48681&r2=48682&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Globals.cpp (original)
+++ llvm/trunk/lib/VMCore/Globals.cpp Sat Mar 22 02:48:40 2008
@@ -232,7 +232,7 @@
}
const GlobalValue *GlobalAlias::resolveAliasedGlobal() const {
- SmallPtrSet<const GlobalValue*, 1> Visited;
+ SmallPtrSet<const GlobalValue*, 3> Visited;
const GlobalValue *GV = getAliasedGlobal();
Visited.insert(GV);
More information about the llvm-commits
mailing list