diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-15 02:40:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-15 02:40:04 +0000 |
commit | f51c7f56caea364e4ad7adecff0413dc74686bb3 (patch) | |
tree | eb92afc262728fac3596a87bbd63947657a2b716 /lib/CodeGen/InstrSched/SchedGraph.cpp | |
parent | 017fdcb76def65c32083fa7e2e4cb1f69b77eed0 (diff) |
Fix for PR341
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/InstrSched/SchedGraph.cpp')
-rw-r--r-- | lib/CodeGen/InstrSched/SchedGraph.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/InstrSched/SchedGraph.cpp b/lib/CodeGen/InstrSched/SchedGraph.cpp index 9688f3930b..2c7a123c43 100644 --- a/lib/CodeGen/InstrSched/SchedGraph.cpp +++ b/lib/CodeGen/InstrSched/SchedGraph.cpp @@ -107,7 +107,7 @@ SchedGraph::~SchedGraph() { void SchedGraph::dump() const { std::cerr << " Sched Graph for Basic Block: " << MBB.getBasicBlock()->getName() - << " (" << MBB.getBasicBlock() << ")" + << " (" << *MBB.getBasicBlock() << ")" << "\n\n Actual Root nodes: "; for (SchedGraphNodeCommon::const_iterator I = graphRoot->beginOutEdges(), E = graphRoot->endOutEdges(); @@ -694,7 +694,7 @@ void SchedGraphEdge::print(std::ostream &os) const { os<< "Control Dep"; break; case SchedGraphEdge::ValueDep: - os<< "Reg Value " << val; + os<< "Reg Value " << *val; break; case SchedGraphEdge::MemoryDep: os<< "Memory Dep"; |