diff options
-rw-r--r-- | llvm/lib/Target/X86/X86InstrInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.cpp b/llvm/lib/Target/X86/X86InstrInfo.cpp index 5d23eb13cbb..d3df7d8bc7d 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.cpp +++ b/llvm/lib/Target/X86/X86InstrInfo.cpp @@ -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()) |