[LiveDebugValues] Silence the unused var warning; NFC

This commit is contained in:
Djordje Todorovic 2019-12-05 12:21:51 +01:00
parent 158356b82b
commit 52b231ee84
1 changed files with 1 additions and 2 deletions

View File

@ -859,8 +859,7 @@ void LiveDebugValues::insertTransferDebugPair(
unsigned NewReg) {
const MachineInstr *DebugInstr = &VarLocIDs[OldVarID].MI;
auto ProcessVarLoc = [&MI, &OpenRanges, &Transfers, &DebugInstr,
&VarLocIDs](VarLoc &VL) {
auto ProcessVarLoc = [&MI, &OpenRanges, &Transfers, &VarLocIDs](VarLoc &VL) {
unsigned LocId = VarLocIDs.insert(VL);
// Close this variable's previous location range.