Fix the build on gcc 4.2.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48212 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2008-03-11 05:56:09 +00:00
parent 0dbb4a1398
commit 3c78697a3c

View File

@ -964,6 +964,7 @@ void FPS::handleSpecialFP(MachineBasicBlock::iterator &I) {
// This could be made better, but would require substantial changes.
duplicateToTop(SrcReg, DestReg, I);
}
}
break;
case X86::RET:
case X86::RETI:
@ -1043,7 +1044,6 @@ void FPS::handleSpecialFP(MachineBasicBlock::iterator &I) {
StackTop = 0;
return;
}
}
I = MBB->erase(I); // Remove the pseudo instruction
--I;