mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-26 07:29:55 +00:00
Use ArrayRef instead of a reference to a SmallVectorImpl.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175385 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0c22283598
commit
7324d4e593
@ -294,7 +294,7 @@ namespace llvm {
|
||||
void repairIntervalsInRange(MachineBasicBlock *MBB,
|
||||
MachineBasicBlock::reverse_iterator RBegin,
|
||||
MachineBasicBlock::reverse_iterator REnd,
|
||||
SmallVectorImpl<unsigned> &OrigRegs);
|
||||
ArrayRef<unsigned> OrigRegs);
|
||||
|
||||
// Register mask functions.
|
||||
//
|
||||
|
@ -1037,7 +1037,7 @@ void
|
||||
LiveIntervals::repairIntervalsInRange(MachineBasicBlock *MBB,
|
||||
MachineBasicBlock::reverse_iterator RBegin,
|
||||
MachineBasicBlock::reverse_iterator REnd,
|
||||
SmallVectorImpl<unsigned> &OrigRegs) {
|
||||
ArrayRef<unsigned> OrigRegs) {
|
||||
for (unsigned i = 0, e = OrigRegs.size(); i != e; ++i) {
|
||||
unsigned Reg = OrigRegs[i];
|
||||
if (!TargetRegisterInfo::isVirtualRegister(Reg))
|
||||
|
Loading…
Reference in New Issue
Block a user