diff options
author | Bill Wendling <isanbard@gmail.com> | 2006-11-28 22:46:12 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2006-11-28 22:46:12 +0000 |
commit | 6f81b510217bd87f265cca054c5d9885250d8525 (patch) | |
tree | 5df9ed1ff445ba9c1efe8754da583542d079d455 /lib/Analysis/InstCount.cpp | |
parent | c0ac317f93bef323437d791e4ef5a97f36d50515 (diff) |
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.cpp | 5 |
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: |