From: Chris Lattner Date: Tue, 15 Sep 2009 04:37:49 +0000 (+0000) Subject: switch scciterator to use DenseMap instead of std::map X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=270fc1077b07d7de1adbc3016d566d1757273b63;p=oota-llvm.git 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 --- diff --git a/include/llvm/ADT/SCCIterator.h b/include/llvm/ADT/SCCIterator.h index c0c6ba2a63d..db985b5ae1d 100644 --- a/include/llvm/ADT/SCCIterator.h +++ b/include/llvm/ADT/SCCIterator.h @@ -22,7 +22,7 @@ #define LLVM_ADT_SCCITERATOR_H #include "llvm/ADT/GraphTraits.h" -#include +#include "llvm/ADT/DenseMap.h" #include namespace llvm { @@ -48,7 +48,7 @@ class scc_iterator // visitNum is the global counter. // nodeVisitNumbers are per-node visit numbers, also used as DFS flags. unsigned visitNum; - std::map nodeVisitNumbers; + DenseMap nodeVisitNumbers; // SCCNodeStack - Stack holding nodes of the SCC. std::vector SCCNodeStack;