diff options
| author | Bill Wendling <isanbard@gmail.com> | 2006-11-28 22:46:12 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2006-11-28 22:46:12 +0000 |
| commit | 597d451feace38e5847a26719eafd93db3d82684 (patch) | |
| tree | 385230cc6dbe4b5773e0cc571ea71ff5c9e6882a /llvm/lib/Analysis/ProfileInfoLoaderPass.cpp | |
| parent | a60d8edfc9459b1c63e8efb017ee3b371de50ced (diff) | |
| download | bcm5719-llvm-597d451feace38e5847a26719eafd93db3d82684.tar.gz bcm5719-llvm-597d451feace38e5847a26719eafd93db3d82684.zip | |
Removed some of the iostream #includes. Moved towards converting to using
llvm streams
llvm-svn: 31983
Diffstat (limited to 'llvm/lib/Analysis/ProfileInfoLoaderPass.cpp')
| -rw-r--r-- | llvm/lib/Analysis/ProfileInfoLoaderPass.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp b/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp index b5cb95433fc..08a45c62c55 100644 --- a/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp +++ b/llvm/lib/Analysis/ProfileInfoLoaderPass.cpp @@ -19,8 +19,7 @@ #include "llvm/Analysis/ProfileInfo.h" #include "llvm/Analysis/ProfileInfoLoader.h" #include "llvm/Support/CommandLine.h" -#include <iostream> - +#include "llvm/Support/Streams.h" using namespace llvm; namespace { @@ -77,7 +76,7 @@ bool LoaderPass::runOnModule(Module &M) { TerminatorInst *TI = BB->getTerminator(); if (SuccNum >= TI->getNumSuccessors()) { if (!PrintedWarning) { - std::cerr << "WARNING: profile information is inconsistent with " + llvm_cerr << "WARNING: profile information is inconsistent with " << "the current program!\n"; PrintedWarning = true; } |

