Mercurial > hg > CbC > CbC_llvm
diff lib/Analysis/CFG.cpp @ 120:1172e4bd9c6f
update 4.0.0
author | mir3636 |
---|---|
date | Fri, 25 Nov 2016 19:14:25 +0900 |
parents | 7d135dc70f03 |
children | c2174574ed3a |
line wrap: on
line diff
--- a/lib/Analysis/CFG.cpp Tue Jan 26 22:56:36 2016 +0900 +++ b/lib/Analysis/CFG.cpp Fri Nov 25 19:14:25 2016 +0900 @@ -138,7 +138,7 @@ // 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)