summaryrefslogtreecommitdiff
path: root/lib/Transforms/Instrumentation
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-05 04:46:22 +0000
committerChris Lattner <sabre@nondot.org>2004-11-05 04:46:22 +0000
commit183f2eb860a6c97523d0f7f13ebdb5126167ceb6 (patch)
treef997cf970ae4f304d7783ef68a49f1468af56a25 /lib/Transforms/Instrumentation
parentf158092801cc5c627408153169d2ab8c990c7893 (diff)
downloadllvm-183f2eb860a6c97523d0f7f13ebdb5126167ceb6.tar.gz
llvm-183f2eb860a6c97523d0f7f13ebdb5126167ceb6.tar.bz2
llvm-183f2eb860a6c97523d0f7f13ebdb5126167ceb6.tar.xz
Remove dead vars
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17482 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation')
-rw-r--r--lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp1
-rw-r--r--lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
index ef7b9b3818..bb7c5a6e82 100644
--- a/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
+++ b/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
@@ -85,7 +85,6 @@ bool ProfilePaths::runOnFunction(Function &F){
std::vector<Node *> nodes;
std::vector<Edge> edges;
- Node *tmp;
Node *exitNode = 0, *startNode = 0;
// The nodes must be uniquely identified:
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp b/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp
index fd0844e14b..4954723685 100644
--- a/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp
+++ b/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp
@@ -134,7 +134,6 @@ void getBBtrace(vector<BasicBlock *> &vBB, int pathNo, Function *M){//,
std::vector<Node *> nodes;
std::vector<Edge> edges;
- Node *tmp;
Node *exitNode=0, *startNode=0;
//Creat cfg just once for each function!