aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Instrumentation/RSProfiling.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-11-26 09:17:06 +0000
committerBill Wendling <isanbard@gmail.com>2006-11-26 09:17:06 +0000
commit62c804a3ea537a83f307ed9c2788138cc47cc2ed (patch)
tree4fa3d0ad83de69aa3cc9edbdd65ba28b78b06680 /lib/Transforms/Instrumentation/RSProfiling.cpp
parentf525eb905614b418939b6a49f9ee57caf15cc168 (diff)
downloadexternal_llvm-62c804a3ea537a83f307ed9c2788138cc47cc2ed.tar.gz
external_llvm-62c804a3ea537a83f307ed9c2788138cc47cc2ed.tar.bz2
external_llvm-62c804a3ea537a83f307ed9c2788138cc47cc2ed.zip
Removed #include <iostream> and used the llvm_cerr/DOUT streams instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31922 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/RSProfiling.cpp')
-rw-r--r--lib/Transforms/Instrumentation/RSProfiling.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Transforms/Instrumentation/RSProfiling.cpp b/lib/Transforms/Instrumentation/RSProfiling.cpp
index 671b3bcf22..4c6f264b3b 100644
--- a/lib/Transforms/Instrumentation/RSProfiling.cpp
+++ b/lib/Transforms/Instrumentation/RSProfiling.cpp
@@ -45,13 +45,10 @@
#include "llvm/Transforms/Instrumentation.h"
//#include "ProfilingUtils.h"
#include "RSProfiling.h"
-
#include <set>
#include <map>
#include <queue>
#include <list>
-#include <iostream>
-
using namespace llvm;
namespace {
@@ -628,7 +625,7 @@ static void getBackEdges(Function& F, T& BackEdges) {
std::map<BasicBlock*, int> finish;
int time = 0;
recBackEdge(&F.getEntryBlock(), BackEdges, color, depth, finish, time);
- DEBUG(std::cerr << F.getName() << " " << BackEdges.size() << "\n");
+ DOUT << F.getName() << " " << BackEdges.size() << "\n";
}