llvm.org GIT mirror llvm / 270fc10
switch scciterator to use DenseMap instead of std::map git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81834 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 10 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
2121 #define LLVM_ADT_SCCITERATOR_H
2222
2323 #include "llvm/ADT/GraphTraits.h"
24 #include
24 #include "llvm/ADT/DenseMap.h"
2525 #include
2626
2727 namespace llvm {
4747 // visitNum is the global counter.
4848 // nodeVisitNumbers are per-node visit numbers, also used as DFS flags.
4949 unsigned visitNum;
50 std::map nodeVisitNumbers;
50 DenseMap nodeVisitNumbers;
5151
5252 // SCCNodeStack - Stack holding nodes of the SCC.
5353 std::vector SCCNodeStack;