forked from OSchip/llvm-project
Make argument const to silence cppcheck warning. NFCI.
This commit is contained in:
parent
dd046c9612
commit
6e7a768354
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue