Fix for PR341

llvm-svn: 14845
This commit is contained in:
Chris Lattner 2004-07-15 02:40:04 +00:00
parent c9819f09c2
commit fcdab1b5f5
2 changed files with 3 additions and 3 deletions

View File

@ -189,7 +189,7 @@ void BytecodeWriter::outputConstant(const Constant *CPV) {
case Type::LabelTyID:
default:
std::cerr << __FILE__ << ":" << __LINE__ << ": Don't know how to serialize"
<< " type '" << CPV->getType() << "'\n";
<< " type '" << *CPV->getType() << "'\n";
break;
}
return;

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