1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Make argument const to silence cppcheck warning. NFCI.

This commit is contained in:
Simon Pilgrim 2020-02-29 19:11:00 +00:00
parent 1d64104097
commit fc4498117c

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)