summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/VMCore/Globals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Globals.cpp b/llvm/lib/VMCore/Globals.cpp
index d66d351bc23..e75b1867a99 100644
--- a/llvm/lib/VMCore/Globals.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud