summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineDominators.h
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
commit99d562d8fc6684ebaa4d8df458f8d3340b46e4d4 (patch)
tree855065be4e087aee84583f2466ebeff86ab977c7 /include/llvm/CodeGen/MachineDominators.h
parent15ac8b9e6dec8f60879331fe62e62c92e09bfdb6 (diff)
downloadllvm-99d562d8fc6684ebaa4d8df458f8d3340b46e4d4.tar.gz
llvm-99d562d8fc6684ebaa4d8df458f8d3340b46e4d4.tar.bz2
llvm-99d562d8fc6684ebaa4d8df458f8d3340b46e4d4.tar.xz
Get rid of an unneeded #include.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45337 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineDominators.h')
-rw-r--r--include/llvm/CodeGen/MachineDominators.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineDominators.h b/include/llvm/CodeGen/MachineDominators.h
index 44bbaa0fbe..7d277f0732 100644
--- a/include/llvm/CodeGen/MachineDominators.h
+++ b/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;