aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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!