summaryrefslogtreecommitdiff
path: root/lib/CodeGen/InstrSched/SchedPriorities.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/InstrSched/SchedPriorities.h')
-rw-r--r--lib/CodeGen/InstrSched/SchedPriorities.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/CodeGen/InstrSched/SchedPriorities.h b/lib/CodeGen/InstrSched/SchedPriorities.h
index 7cfcb03839..2b9405db9a 100644
--- a/lib/CodeGen/InstrSched/SchedPriorities.h
+++ b/lib/CodeGen/InstrSched/SchedPriorities.h
@@ -18,7 +18,6 @@
#include "llvm/Target/MachineSchedInfo.h"
#include "Support/hash_set"
#include <list>
-#include <iosfwd>
class Function;
class MachineInstr;
@@ -202,9 +201,6 @@ inline void SchedPriorities::updateTime(cycles_t c) {
mcands.clear();
}
-inline std::ostream &operator<<(std::ostream &os, const NodeDelayPair* nd) {
- return os << "Delay for node " << nd->node->getNodeId()
- << " = " << (long)nd->delay << "\n";
-}
+std::ostream &operator<<(std::ostream &os, const NodeDelayPair* nd);
#endif