Make argument const to silence cppcheck warning. NFCI.

This commit is contained in:
Simon Pilgrim 2020-02-29 19:11:00 +00:00
parent dd046c9612
commit 6e7a768354
1 changed files with 1 additions and 1 deletions

View File

@ -2197,7 +2197,7 @@ void MachineInstr::changeDebugValuesDefReg(Register Reg) {
using MMOList = SmallVector<const MachineMemOperand *, 2>;
static unsigned getSpillSlotSize(MMOList &Accesses,
static unsigned getSpillSlotSize(const MMOList &Accesses,
const MachineFrameInfo &MFI) {
unsigned Size = 0;
for (auto A : Accesses)