Move function to cpp file from header
[oota-llvm.git] / lib / CodeGen / InstrSched / SchedPriorities.cpp
index 33aae5c7f52920276ff2bf20a2709630c53bafad..107ddd6c6d4a52dff58b52395626afb4d57f707d 100644 (file)
 #include "Support/PostOrderIterator.h"
 using std::cerr;
 
+std::ostream &operator<<(std::ostream &os, const NodeDelayPair* nd) {
+  return os << "Delay for node " << nd->node->getNodeId()
+           << " = " << (long)nd->delay << "\n";
+}
+
+
 SchedPriorities::SchedPriorities(const Function *, const SchedGraph *G,
                                  FunctionLiveVarInfo &LVI)
   : curTime(0), graph(G), methodLiveVarInfo(LVI),