aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/SparcV9/InstrSched/SchedPriorities.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-02 22:07:51 +0000
committerChris Lattner <sabre@nondot.org>2002-11-02 22:07:51 +0000
commit5da2e6ac7016f61e3475cf6e982b2517a2294ca4 (patch)
treee278099a27486b3aadb9487faf96b77ae1614c20 /lib/Target/SparcV9/InstrSched/SchedPriorities.cpp
parent0d05e6d942e75a1187e8538adf3a05c09976cabf (diff)
Move function to cpp file from header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/InstrSched/SchedPriorities.cpp')
-rw-r--r--lib/Target/SparcV9/InstrSched/SchedPriorities.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/InstrSched/SchedPriorities.cpp b/lib/Target/SparcV9/InstrSched/SchedPriorities.cpp
index 33aae5c7f5..107ddd6c6d 100644
--- a/lib/Target/SparcV9/InstrSched/SchedPriorities.cpp
+++ b/lib/Target/SparcV9/InstrSched/SchedPriorities.cpp
@@ -17,6 +17,12 @@
#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),