Patches towards fixing PR341

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14841 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2004-07-15 02:14:30 +00:00
parent 30b4344767
commit 76e2df2645
10 changed files with 20 additions and 19 deletions

View File

@ -273,7 +273,7 @@ std::ostream &CWriter::printType(std::ostream &Out, const Type *Ty,
case Type::FloatTyID: return Out << "float " << NameSoFar;
case Type::DoubleTyID: return Out << "double " << NameSoFar;
default :
std::cerr << "Unknown primitive type: " << Ty << "\n";
std::cerr << "Unknown primitive type: " << *Ty << "\n";
abort();
}
@ -517,7 +517,7 @@ void CWriter::printConstant(Constant *CPV) {
default:
std::cerr << "CWriter Error: Unhandled constant expression: "
<< CE << "\n";
<< *CE << "\n";
abort();
}
}
@ -626,7 +626,7 @@ void CWriter::printConstant(Constant *CPV) {
}
// FALL THROUGH
default:
std::cerr << "Unknown constant type: " << CPV << "\n";
std::cerr << "Unknown constant type: " << *CPV << "\n";
abort();
}
}