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

Remove unnecesary #include add dump calls pulled out of .h file

llvm-svn: 488
This commit is contained in:
Chris Lattner 2001-09-07 21:21:03 +00:00
parent c1ca76ff89
commit fd10317614

View File

@ -12,12 +12,6 @@
* 7/20/01 - Vikram Adve - Created
***************************************************************************/
//************************** System Include Files **************************/
#include <algorithm>
//*************************** User Include Files ***************************/
#include "llvm/InstrTypes.h"
#include "llvm/Instruction.h"
#include "llvm/BasicBlock.h"
@ -25,6 +19,8 @@
#include "llvm/CodeGen/SchedGraph.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/TargetMachine.h"
#include "llvm/Support/StringExtras.h"
#include <algorithm>
//************************* Class Implementations **************************/
@ -102,6 +98,10 @@ SchedGraphEdge::SchedGraphEdge(SchedGraphNode* _src,
sink->addInEdge(this);
}
void SchedGraphEdge::dump(int indent=0) const {
printIndent(indent); cout << *this;
}
//
// class SchedGraphNode
@ -135,6 +135,10 @@ SchedGraphNode::~SchedGraphNode()
delete outEdges[i];
}
void SchedGraphNode::dump(int indent=0) const {
printIndent(indent); cout << *this;
}
inline void
SchedGraphNode::addInEdge(SchedGraphEdge* edge)