mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[RegScavenger] Rangify a loop, NFC
llvm-svn: 302554
This commit is contained in:
parent
e8dbea338b
commit
688762900b
@ -62,10 +62,9 @@ void RegScavenger::init(MachineBasicBlock &MBB) {
|
||||
}
|
||||
this->MBB = &MBB;
|
||||
|
||||
for (SmallVectorImpl<ScavengedInfo>::iterator I = Scavenged.begin(),
|
||||
IE = Scavenged.end(); I != IE; ++I) {
|
||||
I->Reg = 0;
|
||||
I->Restore = nullptr;
|
||||
for (ScavengedInfo &SI : Scavenged) {
|
||||
SI.Reg = 0;
|
||||
SI.Restore = nullptr;
|
||||
}
|
||||
|
||||
Tracking = false;
|
||||
|
Loading…
Reference in New Issue
Block a user