Use ArrayRef instead of a reference to a SmallVectorImpl.

llvm-svn: 175385
This commit is contained in:
Cameron Zwarich 2013-02-17 03:48:23 +00:00
parent b633eab8cb
commit 1286ef9c89
2 changed files with 2 additions and 2 deletions

View File

@ -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.
//

View File

@ -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))