From 1362602eb26734114a27ebb6b28db6c4dd412dec Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 23 Aug 2009 06:03:38 +0000 Subject: Change Pass::print to take a raw ostream instead of std::ostream, update all code that this affects. llvm-svn: 79830 --- llvm/lib/Analysis/PostDominators.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'llvm/lib/Analysis/PostDominators.cpp') diff --git a/llvm/lib/Analysis/PostDominators.cpp b/llvm/lib/Analysis/PostDominators.cpp index 69522e8a39d..69d6b47bbee 100644 --- a/llvm/lib/Analysis/PostDominators.cpp +++ b/llvm/lib/Analysis/PostDominators.cpp @@ -41,9 +41,8 @@ PostDominatorTree::~PostDominatorTree() { delete DT; } -void PostDominatorTree::print(std::ostream &OS, const Module *) const { - raw_os_ostream OSS(OS); - DT->print(OSS); +void PostDominatorTree::print(raw_ostream &OS, const Module *) const { + DT->print(OS); } -- cgit v1.2.3