1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Move function to cpp file from header

llvm-svn: 4510
This commit is contained in:
Chris Lattner 2002-11-02 22:07:51 +00:00
parent 4e272d8fd9
commit 0478222ec2
2 changed files with 7 additions and 5 deletions

View File

@ -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),

View File

@ -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