summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/ProfilePaths
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ProfilePaths')
-rw-r--r--llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp1
-rw-r--r--llvm/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
index ef7b9b38186..bb7c5a6e829 100644
--- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
+++ b/llvm/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/llvm/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp
index fd0844e14b9..4954723685f 100644
--- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/RetracePath.cpp
+++ b/llvm/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!
OpenPOWER on IntegriCloud