From dfc91897df7a9d6121479b44d17996a963b67c55 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 28 Nov 2006 02:09:03 +0000 Subject: Changed to using LLVM streams. llvm-svn: 31955 --- llvm/lib/VMCore/PassManager.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'llvm/lib/VMCore/PassManager.cpp') diff --git a/llvm/lib/VMCore/PassManager.cpp b/llvm/lib/VMCore/PassManager.cpp index b8717ea42f7..d01ef3e4a7b 100644 --- a/llvm/lib/VMCore/PassManager.cpp +++ b/llvm/lib/VMCore/PassManager.cpp @@ -15,10 +15,9 @@ #include "llvm/PassManager.h" #include "llvm/Module.h" #include "llvm/ModuleProvider.h" +#include "llvm/Support/Streams.h" #include #include -#include - using namespace llvm; namespace llvm { @@ -443,7 +442,7 @@ bool FunctionPassManager_New::runOnModule(Module &M) { bool FunctionPassManager_New::run(Function &F) { std::string errstr; if (MP->materializeFunction(&F, &errstr)) { - std::cerr << "Error reading bytecode file: " << errstr << "\n"; + llvm_cerr << "Error reading bytecode file: " << errstr << "\n"; abort(); } return FPM->runOnFunction(F); -- cgit v1.2.3