From 7e66438579eabeefc8de7c6074fc5f35799d3857 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Wed, 28 Apr 2004 18:52:43 +0000 Subject: Send text and numbers directly to CachedWriter's contained ostream. llvm-svn: 13243 --- llvm/lib/Analysis/IPA/FindUnsafePointerTypes.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/lib/Analysis') diff --git a/llvm/lib/Analysis/IPA/FindUnsafePointerTypes.cpp b/llvm/lib/Analysis/IPA/FindUnsafePointerTypes.cpp index 67ab52d8a8a..98cbe7812b1 100644 --- a/llvm/lib/Analysis/IPA/FindUnsafePointerTypes.cpp +++ b/llvm/lib/Analysis/IPA/FindUnsafePointerTypes.cpp @@ -98,7 +98,8 @@ void FindUnsafePointerTypes::print(std::ostream &o, const Module *M) const { for (std::set::const_iterator I = getUnsafeTypes().begin(), E = getUnsafeTypes().end(); I != E; ++I, ++Counter) { - CW << " #" << Counter << ". " << (Value*)*I << "\n"; + o << " #" << Counter << ". "; + CW << (Value*)*I << "\n"; } } -- cgit v1.2.3