[llvm-exegesis] Fix unused lambda capture.

llvm-svn: 344029
This commit is contained in:
Guillaume Chatelet 2018-10-09 09:33:29 +00:00
parent c27f3c0720
commit aada53dc8b

View File

@ -171,7 +171,7 @@ bool Instruction::hasAliasingImplicitRegisters() const {
bool Instruction::hasTiedRegisters() const { bool Instruction::hasTiedRegisters() const {
return llvm::any_of( return llvm::any_of(
Variables, [this](const Variable &Var) { return Var.hasTiedOperands(); }); Variables, [](const Variable &Var) { return Var.hasTiedOperands(); });
} }
bool Instruction::hasAliasingRegisters() const { bool Instruction::hasAliasingRegisters() const {