From: Andrew Kaylor Date: Fri, 22 Apr 2016 22:24:20 +0000 (+0000) Subject: Removing unused function. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=79a933a686e1397ea1064b54068790f96f75c780;p=platform%2Fupstream%2Fllvm.git Removing unused function. llvm-svn: 267236 --- diff --git a/llvm/lib/IR/OptBisect.cpp b/llvm/lib/IR/OptBisect.cpp index 74eb9e1..e9574ca 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 &);