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:
parent
1d64104097
commit
fc4498117c
@ -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
Block a user