summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit597d451feace38e5847a26719eafd93db3d82684 (patch)
tree385230cc6dbe4b5773e0cc571ea71ff5c9e6882a /llvm/lib/Analysis/InstCount.cpp
parenta60d8edfc9459b1c63e8efb017ee3b371de50ced (diff)
downloadbcm5719-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/InstCount.cpp')
-rw-r--r--llvm/lib/Analysis/InstCount.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/InstCount.cpp b/llvm/lib/Analysis/InstCount.cpp
index 72bc2c72387..80f8bd88180 100644
--- a/llvm/lib/Analysis/InstCount.cpp
+++ b/llvm/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:
OpenPOWER on IntegriCloud