mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-02 19:24:25 +00:00
Elminiate MachineFunction& argument from eliminateFrameIndex
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15736 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -337,7 +337,7 @@ void PEI::replaceFrameIndices(MachineFunction &Fn) {
|
||||
if (I->getOperand(i).isFrameIndex()) {
|
||||
// If this instruction has a FrameIndex operand, we need to use that
|
||||
// target machine register info object to eliminate it.
|
||||
MRI.eliminateFrameIndex(Fn, I);
|
||||
MRI.eliminateFrameIndex(I);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user