diff options
Diffstat (limited to 'gnu/llvm/lib/Analysis/CFG.cpp')
| -rw-r--r-- | gnu/llvm/lib/Analysis/CFG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/llvm/lib/Analysis/CFG.cpp b/gnu/llvm/lib/Analysis/CFG.cpp index 0dfd57d3cb6..a319be8092f 100644 --- a/gnu/llvm/lib/Analysis/CFG.cpp +++ b/gnu/llvm/lib/Analysis/CFG.cpp @@ -138,7 +138,7 @@ bool llvm::isPotentiallyReachableFromMany( // Limit the number of blocks we visit. The goal is to avoid run-away compile // times on large CFGs without hampering sensible code. Arbitrarily chosen. unsigned Limit = 32; - SmallSet<const BasicBlock*, 64> Visited; + SmallPtrSet<const BasicBlock*, 32> Visited; do { BasicBlock *BB = Worklist.pop_back_val(); if (!Visited.insert(BB).second) |
