forked from OSchip/llvm-project
Use ArrayRef instead of a reference to a SmallVectorImpl.
llvm-svn: 175385
This commit is contained in:
parent
b633eab8cb
commit
1286ef9c89
|
@ -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