remove uses of llvm/Support/Streams.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79838 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/ProfileInfoLoaderPass.cpp b/lib/Analysis/ProfileInfoLoaderPass.cpp
index 3e75f02..8a8683b 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 @@
}
}
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 @@
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 @@
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";
}
}