Fix unused lambda capture.

llvm-svn: 332686
This commit is contained in:
Eli Friedman 2018-05-18 02:11:25 +00:00
parent 4081a57af7
commit d268bf0a4d
1 changed files with 1 additions and 1 deletions

View File

@ -11136,7 +11136,7 @@ X86InstrInfo::getOutlininingCandidateInfo(
&RepeatedSequenceLocs) const {
unsigned SequenceSize = std::accumulate(
RepeatedSequenceLocs[0].first, std::next(RepeatedSequenceLocs[0].second),
0, [this](unsigned Sum, const MachineInstr &MI) {
0, [](unsigned Sum, const MachineInstr &MI) {
// FIXME: x86 doesn't implement getInstSizeInBytes, so we can't
// tell the cost. Just assume each instruction is one byte.
if (MI.isDebugInstr() || MI.isKill())