forked from OSchip/llvm-project
[LiveDebugValues] Silence the unused var warning; NFC
This commit is contained in:
parent
158356b82b
commit
52b231ee84
|
@ -859,8 +859,7 @@ void LiveDebugValues::insertTransferDebugPair(
|
||||||
unsigned NewReg) {
|
unsigned NewReg) {
|
||||||
const MachineInstr *DebugInstr = &VarLocIDs[OldVarID].MI;
|
const MachineInstr *DebugInstr = &VarLocIDs[OldVarID].MI;
|
||||||
|
|
||||||
auto ProcessVarLoc = [&MI, &OpenRanges, &Transfers, &DebugInstr,
|
auto ProcessVarLoc = [&MI, &OpenRanges, &Transfers, &VarLocIDs](VarLoc &VL) {
|
||||||
&VarLocIDs](VarLoc &VL) {
|
|
||||||
unsigned LocId = VarLocIDs.insert(VL);
|
unsigned LocId = VarLocIDs.insert(VL);
|
||||||
|
|
||||||
// Close this variable's previous location range.
|
// Close this variable's previous location range.
|
||||||
|
|
Loading…
Reference in New Issue