diff options
| author | Djordje Todorovic <djordje.todorovic@rt-rk.com> | 2019-12-05 12:21:51 +0100 | 
|---|---|---|
| committer | Djordje Todorovic <djordje.todorovic@rt-rk.com> | 2019-12-05 12:32:14 +0100 | 
| commit | 52b231ee84cac576044e147e72d9bd5b290de1f3 (patch) | |
| tree | 7d19daf0251a5af0414f60b021a2fefcb0d81e40 | |
| parent | 158356b82b8a2fa8f1cb12a3735274f6a6c3c5f2 (diff) | |
| download | bcm5719-llvm-52b231ee84cac576044e147e72d9bd5b290de1f3.tar.gz bcm5719-llvm-52b231ee84cac576044e147e72d9bd5b290de1f3.zip  | |
[LiveDebugValues] Silence the unused var warning; NFC
| -rw-r--r-- | llvm/lib/CodeGen/LiveDebugValues.cpp | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues.cpp b/llvm/lib/CodeGen/LiveDebugValues.cpp index 58680f7be4e..04efa7bc35e 100644 --- a/llvm/lib/CodeGen/LiveDebugValues.cpp +++ b/llvm/lib/CodeGen/LiveDebugValues.cpp @@ -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.  | 

