aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/VMCore/Globals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Globals.cpp b/lib/VMCore/Globals.cpp
index d66d351bc2..e75b1867a9 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);