aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/ProfileInfoLoaderPass.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-11-28 22:46:12 +0000
committerBill Wendling <isanbard@gmail.com>2006-11-28 22:46:12 +0000
commit6f81b510217bd87f265cca054c5d9885250d8525 (patch)
tree5df9ed1ff445ba9c1efe8754da583542d079d455 /lib/Analysis/ProfileInfoLoaderPass.cpp
parentc0ac317f93bef323437d791e4ef5a97f36d50515 (diff)
downloadexternal_llvm-6f81b510217bd87f265cca054c5d9885250d8525.zip
external_llvm-6f81b510217bd87f265cca054c5d9885250d8525.tar.gz
external_llvm-6f81b510217bd87f265cca054c5d9885250d8525.tar.bz2
Removed some of the iostream #includes. Moved towards converting to using
llvm streams git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31983 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ProfileInfoLoaderPass.cpp')
-rw-r--r--lib/Analysis/ProfileInfoLoaderPass.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Analysis/ProfileInfoLoaderPass.cpp b/lib/Analysis/ProfileInfoLoaderPass.cpp
index b5cb954..08a45c6 100644
--- a/lib/Analysis/ProfileInfoLoaderPass.cpp
+++ b/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;
}