1
0
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:
Krzysztof Parzyszek 2017-05-09 17:16:52 +00:00
parent e8dbea338b
commit 688762900b

View File

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