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
This commit is contained in:
Bill Wendling
2006-11-28 22:46:12 +00:00
parent c0ac317f93
commit 6f81b51021
12 changed files with 143 additions and 89 deletions
+2 -3
View File
@@ -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;
}