[LVI] Remove unnecessary lambda capture (NFC)

This commit is contained in:
Nikita Popov 2020-08-29 21:33:19 +02:00
parent 4e796fd7b6
commit d37c50d614

View File

@ -656,7 +656,7 @@ bool LazyValueInfoImpl::isNonNullAtEndOfBlock(Value *Val, BasicBlock *BB) {
return false;
Val = getUnderlyingObject(Val);
return TheCache.isNonNullAtEndOfBlock(Val, BB, [this](BasicBlock *BB) {
return TheCache.isNonNullAtEndOfBlock(Val, BB, [](BasicBlock *BB) {
NonNullPointerSet NonNullPointers;
for (Instruction &I : *BB)
AddNonNullPointersByInstruction(&I, NonNullPointers);