Send text and numbers directly to CachedWriter's contained ostream.

llvm-svn: 13243
This commit is contained in:
Misha Brukman 2004-04-28 18:52:43 +00:00
parent 1846321345
commit 7e66438579
1 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,8 @@ void FindUnsafePointerTypes::print(std::ostream &o, const Module *M) const {
for (std::set<PointerType*>::const_iterator I = getUnsafeTypes().begin(),
E = getUnsafeTypes().end(); I != E; ++I, ++Counter) {
CW << " #" << Counter << ". " << (Value*)*I << "\n";
o << " #" << Counter << ". ";
CW << (Value*)*I << "\n";
}
}