summaryrefslogtreecommitdiffstats
path: root/llvm/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
commita7459ca8139b5ffe85050aec3047a94e294f0761 (patch)
treef7df731f07946df0a4513720dd544dcfd6ab406b /llvm/lib/Transforms/Instrumentation/RSProfiling.cpp
parent24cdf575e7aec6c3d5ba4677f4861f57699eba00 (diff)
downloadbcm5719-llvm-a7459ca8139b5ffe85050aec3047a94e294f0761.tar.gz
bcm5719-llvm-a7459ca8139b5ffe85050aec3047a94e294f0761.zip
Removed #include <iostream> and used the llvm_cerr/DOUT streams instead.
llvm-svn: 31922
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/RSProfiling.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/RSProfiling.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/RSProfiling.cpp b/llvm/lib/Transforms/Instrumentation/RSProfiling.cpp
index 671b3bcf227..4c6f264b3bb 100644
--- a/llvm/lib/Transforms/Instrumentation/RSProfiling.cpp
+++ b/llvm/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";
}
OpenPOWER on IntegriCloud