[llvm] r298651 - [Outliner] Remove unused lambda capture.

Jessica Paquette via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 23 15:17:20 PDT 2017


Author: paquette
Date: Thu Mar 23 17:17:20 2017
New Revision: 298651

URL: http://llvm.org/viewvc/llvm-project?rev=298651&view=rev
Log:
[Outliner] Remove unused lambda capture.

Remove an unused lambda capture that made some bots unhappy.

Modified:
    llvm/trunk/lib/CodeGen/MachineOutliner.cpp

Modified: llvm/trunk/lib/CodeGen/MachineOutliner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineOutliner.cpp?rev=298651&r1=298650&r2=298651&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineOutliner.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineOutliner.cpp Thu Mar 23 17:17:20 2017
@@ -1040,8 +1040,8 @@ MachineOutliner::buildCandidateList(std:
   // 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())




More information about the llvm-commits mailing list