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/CodeGen/GCStrategy.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/GCStrategy.cpp') diff --git a/llvm/lib/CodeGen/GCStrategy.cpp b/llvm/lib/CodeGen/GCStrategy.cpp index af5abad537b..2529e4f1f3d 100644 --- a/llvm/lib/CodeGen/GCStrategy.cpp +++ b/llvm/lib/CodeGen/GCStrategy.cpp @@ -29,6 +29,7 @@ #include "llvm/Target/TargetRegisterInfo.h" #include "llvm/Support/Compiler.h" #include "llvm/Support/ErrorHandling.h" +#include "llvm/Support/raw_ostream.h" using namespace llvm; @@ -108,7 +109,7 @@ GCStrategy::~GCStrategy() { bool GCStrategy::initializeCustomLowering(Module &M) { return false; } bool GCStrategy::performCustomLowering(Function &F) { - cerr << "gc " << getName() << " must override performCustomLowering.\n"; + errs() << "gc " << getName() << " must override performCustomLowering.\n"; llvm_unreachable(0); return 0; } -- cgit v1.2.3