summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-05-03 16:00:27 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-05-03 16:00:27 +0000
commit9c373c1c7a34531e1ff102e72f8de1ef98af561e (patch)
treed247581c9e50874db39a02c882d9f6672281899a /llvm/lib/Transforms
parenta51ef94ec11f8999bd854ff4e336844d8551c507 (diff)
downloadbcm5719-llvm-9c373c1c7a34531e1ff102e72f8de1ef98af561e.tar.gz
bcm5719-llvm-9c373c1c7a34531e1ff102e72f8de1ef98af561e.zip
Remove unused variables caught by GCC's -Wunused-but-set-variable.
llvm-svn: 130755
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Instrumentation/PathProfiling.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/PathProfiling.cpp b/llvm/lib/Transforms/Instrumentation/PathProfiling.cpp
index 6b3f12dcbc8..182a43d396c 100644
--- a/llvm/lib/Transforms/Instrumentation/PathProfiling.cpp
+++ b/llvm/lib/Transforms/Instrumentation/PathProfiling.cpp
@@ -1351,8 +1351,6 @@ bool PathProfiler::runOnModule(Module &M) {
return false;
}
- BasicBlock::iterator insertPoint = Main->getEntryBlock().getFirstNonPHI();
-
llvmIncrementHashFunction = M.getOrInsertFunction(
"llvm_increment_path_count",
Type::getVoidTy(*Context), // return type
OpenPOWER on IntegriCloud