summaryrefslogtreecommitdiff
path: root/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp
diff options
context:
space:
mode:
authorAnand Shukla <ashukla@cs.uiuc.edu>2002-07-18 20:56:47 +0000
committerAnand Shukla <ashukla@cs.uiuc.edu>2002-07-18 20:56:47 +0000
commite617f927413b052c4912b05b2297ef348498511d (patch)
tree20d321acad9d20414c460a1862b154fd075a2ffd /lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp
parente221976b37705d2947baee553ce9947d6d9e9e3f (diff)
downloadllvm-e617f927413b052c4912b05b2297ef348498511d.tar.gz
llvm-e617f927413b052c4912b05b2297ef348498511d.tar.bz2
llvm-e617f927413b052c4912b05b2297ef348498511d.tar.xz
minor corrections
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp')
-rw-r--r--lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp b/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp
index b4629d8c9f..cb21604b2e 100644
--- a/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp
+++ b/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp
@@ -338,6 +338,9 @@ void insertBB(Edge ed,
//then we need to change branch destinations to include new BB
//std::cerr<<"before cast!\n";
+ std::cerr<<"Method no in Edgecode:"<<Methno<<"\n";
+ std::cerr<<"Instruction\n";
+ std::cerr<<*TI;
BranchInst *BI = cast<BranchInst>(TI);
if(BI->isUnconditional()){