diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2016-04-22 22:24:20 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2016-04-22 22:24:20 +0000 |
commit | 79a933a686e1397ea1064b54068790f96f75c780 (patch) | |
tree | eb8b0d4efd090dca97b511337868f70e5f9a73fc /llvm/lib/IR/OptBisect.cpp | |
parent | b6bd4618eb0fccb7cc855c01ba6cdefb3af17ea4 (diff) | |
download | bcm5719-llvm-79a933a686e1397ea1064b54068790f96f75c780.tar.gz bcm5719-llvm-79a933a686e1397ea1064b54068790f96f75c780.zip |
Removing unused function.
llvm-svn: 267236
Diffstat (limited to 'llvm/lib/IR/OptBisect.cpp')
-rw-r--r-- | llvm/lib/IR/OptBisect.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/lib/IR/OptBisect.cpp b/llvm/lib/IR/OptBisect.cpp index 74eb9e19e9d..e9574ca8126 100644 --- a/llvm/lib/IR/OptBisect.cpp +++ b/llvm/lib/IR/OptBisect.cpp @@ -85,21 +85,6 @@ static std::string getDescription(const CallGraphSCC &SCC) { return Desc; } -static std::string getDescription(const LazyCallGraph::SCC &SCC) { - std::string Desc = "SCC ("; - bool First = true; - for (LazyCallGraph::Node &CGN : SCC) { - if (First) - First = false; - else - Desc += ", "; - Function &F = CGN.getFunction(); - Desc += F.getName(); - } - Desc += ")"; - return Desc; -} - // Force instantiations. template bool OptBisect::shouldRunPass(const Pass *, const Module &); template bool OptBisect::shouldRunPass(const Pass *, const Function &); |