summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-12-23 20:34:06 +0000
committerOwen Anderson <resistor@mac.com>2007-12-23 20:34:06 +0000
commit6d070f39b8c2c16a676deeddd666520202940f03 (patch)
treeebd14c2fc4a3613fa34edcda3b7df5c1dab8e85c
parent83097d8818909a73f27c43763418669dbeb8a163 (diff)
downloadbcm5719-llvm-6d070f39b8c2c16a676deeddd666520202940f03.tar.gz
bcm5719-llvm-6d070f39b8c2c16a676deeddd666520202940f03.zip
Get rid of an unneeded #include.
llvm-svn: 45337
-rw-r--r--llvm/include/llvm/CodeGen/MachineDominators.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineDominators.h b/llvm/include/llvm/CodeGen/MachineDominators.h
index 44bbaa0fbe6..7d277f07326 100644
--- a/llvm/include/llvm/CodeGen/MachineDominators.h
+++ b/llvm/include/llvm/CodeGen/MachineDominators.h
@@ -21,7 +21,6 @@
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/Analysis/Dominators.h"
#include "llvm/Analysis/DominatorInternals.h"
-#include "llvm/ADT/GraphTraits.h"
namespace llvm {
@@ -187,6 +186,9 @@ public:
/// DominatorTree GraphTraits specialization so the DominatorTree can be
/// iterable by generic graph iterators.
///
+
+template<class T> struct GraphTraits;
+
template <> struct GraphTraits<MachineDomTreeNode *> {
typedef MachineDomTreeNode NodeType;
typedef NodeType::iterator ChildIteratorType;
OpenPOWER on IntegriCloud