diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 07:33:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 07:33:14 +0000 |
commit | a81d29b3916c2eb87a17f800f3759ce21a4a96fd (patch) | |
tree | e1aa2af31db16cca11d47693aaa452f778f537c7 /lib/Analysis/ProfileInfoLoaderPass.cpp | |
parent | 2e35bec78a3279ceb330bec3d401ba6e8da8480c (diff) | |
download | external_llvm-a81d29b3916c2eb87a17f800f3759ce21a4a96fd.tar.gz external_llvm-a81d29b3916c2eb87a17f800f3759ce21a4a96fd.tar.bz2 external_llvm-a81d29b3916c2eb87a17f800f3759ce21a4a96fd.zip |
remove uses of llvm/Support/Streams.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79838 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ProfileInfoLoaderPass.cpp')
-rw-r--r-- | lib/Analysis/ProfileInfoLoaderPass.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Analysis/ProfileInfoLoaderPass.cpp b/lib/Analysis/ProfileInfoLoaderPass.cpp index 3e75f0274b..8a8683b7a3 100644 --- a/lib/Analysis/ProfileInfoLoaderPass.cpp +++ b/lib/Analysis/ProfileInfoLoaderPass.cpp @@ -21,7 +21,7 @@ #include "llvm/Analysis/ProfileInfoLoader.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/Compiler.h" -#include "llvm/Support/Streams.h" +#include "llvm/Support/raw_ostream.h" using namespace llvm; static cl::opt<std::string> @@ -92,8 +92,8 @@ bool LoaderPass::runOnModule(Module &M) { } } if (ei != ECs.size()) { - cerr << "WARNING: profile information is inconsistent with " - << "the current program!\n"; + errs() << "WARNING: profile information is inconsistent with " + << "the current program!\n"; } } @@ -108,8 +108,8 @@ bool LoaderPass::runOnModule(Module &M) { BlockInformation[F][BB] = BCs[bi++]; } if (bi != BCs.size()) { - cerr << "WARNING: profile information is inconsistent with " - << "the current program!\n"; + errs() << "WARNING: profile information is inconsistent with " + << "the current program!\n"; } } @@ -123,8 +123,8 @@ bool LoaderPass::runOnModule(Module &M) { FunctionInformation[F] = FCs[fi++]; } if (fi != FCs.size()) { - cerr << "WARNING: profile information is inconsistent with " - << "the current program!\n"; + errs() << "WARNING: profile information is inconsistent with " + << "the current program!\n"; } } |