summaryrefslogtreecommitdiff
path: root/lib/Analysis/InstCount.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/InstCount.cpp
parentc0ac317f93bef323437d791e4ef5a97f36d50515 (diff)
downloadllvm-6f81b510217bd87f265cca054c5d9885250d8525.tar.gz
llvm-6f81b510217bd87f265cca054c5d9885250d8525.tar.bz2
llvm-6f81b510217bd87f265cca054c5d9885250d8525.tar.xz
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/InstCount.cpp')
-rw-r--r--lib/Analysis/InstCount.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Analysis/InstCount.cpp b/lib/Analysis/InstCount.cpp
index 72bc2c7238..80f8bd8818 100644
--- a/lib/Analysis/InstCount.cpp
+++ b/lib/Analysis/InstCount.cpp
@@ -15,8 +15,9 @@
#include "llvm/Pass.h"
#include "llvm/Function.h"
#include "llvm/Support/InstVisitor.h"
+#include "llvm/Support/Streams.h"
#include "llvm/ADT/Statistic.h"
-#include <iostream>
+#include <ostream>
using namespace llvm;
namespace {
@@ -42,7 +43,7 @@ namespace {
#include "llvm/Instruction.def"
void visitInstruction(Instruction &I) {
- std::cerr << "Instruction Count does not know about " << I;
+ llvm_cerr << "Instruction Count does not know about " << I;
abort();
}
public: