Fix for PR341

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14845 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2004-07-15 02:40:04 +00:00
parent 017fdcb76d
commit f51c7f56ca
3 changed files with 5 additions and 5 deletions

View File

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