Interface clean up.

llvm-svn: 34772
This commit is contained in:
Evan Cheng 2007-03-01 02:25:51 +00:00
parent 0f49976928
commit 31215d1395
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ void PEI::replaceFrameIndices(MachineFunction &Fn) {
RegScavenger *RS=MRI.requiresRegisterScavenging(Fn) ? new RegScavenger():NULL;
for (MachineFunction::iterator BB = Fn.begin(), E = Fn.end(); BB != E; ++BB) {
if (RS) RS->reset(BB);
if (RS) RS->enterBasicBlock(BB);
for (MachineBasicBlock::iterator I = BB->begin(); I != BB->end(); ++I) {
for (unsigned i = 0, e = I->getNumOperands(); i != e; ++i)
if (I->getOperand(i).isFrameIndex()) {