aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/LoopInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/LoopInfo.cpp')
-rw-r--r--lib/Analysis/LoopInfo.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Analysis/LoopInfo.cpp b/lib/Analysis/LoopInfo.cpp
index 9a6b5208d8..18957607ff 100644
--- a/lib/Analysis/LoopInfo.cpp
+++ b/lib/Analysis/LoopInfo.cpp
@@ -20,9 +20,10 @@
#include "llvm/Analysis/Dominators.h"
#include "llvm/Assembly/Writer.h"
#include "llvm/Support/CFG.h"
+#include "llvm/Support/Streams.h"
#include "llvm/ADT/DepthFirstIterator.h"
#include <algorithm>
-#include <iostream>
+#include <ostream>
using namespace llvm;
static RegisterPass<LoopInfo>
@@ -79,7 +80,7 @@ void Loop::print(std::ostream &OS, unsigned Depth) const {
}
void Loop::dump() const {
- print(std::cerr);
+ print(llvm_cerr);
}