diff options
author | Jessica Paquette <jpaquette@apple.com> | 2017-03-23 22:17:20 +0000 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2017-03-23 22:17:20 +0000 |
commit | 5096a347268cb3f5c9e58121f845bdf05d5fa234 (patch) | |
tree | 0aa3000bcbaa4d0dba13c0dd4f929f3392737ba6 /llvm/lib/CodeGen/MachineOutliner.cpp | |
parent | 4ab77b9f28207b04901dc986624e37f288769903 (diff) | |
download | bcm5719-llvm-5096a347268cb3f5c9e58121f845bdf05d5fa234.tar.gz bcm5719-llvm-5096a347268cb3f5c9e58121f845bdf05d5fa234.zip |
[Outliner] Remove unused lambda capture.
Remove an unused lambda capture that made some bots unhappy.
llvm-svn: 298651
Diffstat (limited to 'llvm/lib/CodeGen/MachineOutliner.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineOutliner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineOutliner.cpp b/llvm/lib/CodeGen/MachineOutliner.cpp index 09dbf53db4f..2f54630dd87 100644 --- a/llvm/lib/CodeGen/MachineOutliner.cpp +++ b/llvm/lib/CodeGen/MachineOutliner.cpp @@ -1040,8 +1040,8 @@ MachineOutliner::buildCandidateList(std::vector<Candidate> &CandidateList, // Function for maximizing query in the suffix tree. // This allows us to define more fine-grained types of things to outline in // the target without putting target-specific info in the suffix tree. - auto BenefitFn = [&TII, &ST, &Mapper](const SuffixTreeNode &Curr, - size_t StringLen, unsigned EndVal) { + auto BenefitFn = [&TII, &Mapper](const SuffixTreeNode &Curr, + size_t StringLen, unsigned EndVal) { // The root represents the empty string. if (Curr.isRoot()) |