forked from OSchip/llvm-project
Eliminate MachineFunction& argument from eliminateFrameIndex in SparcV9 target
llvm-svn: 15738
This commit is contained in:
parent
7f1f81511d
commit
1b0142d54e
|
@ -297,8 +297,8 @@ int SparcV9RegisterInfo::copyRegToReg(MachineBasicBlock &MBB,
|
||||||
abort ();
|
abort ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SparcV9RegisterInfo::eliminateFrameIndex(MachineFunction &MF,
|
void SparcV9RegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator MI)
|
||||||
MachineBasicBlock::iterator MI) const {
|
const {
|
||||||
abort ();
|
abort ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -37,8 +37,7 @@ struct SparcV9RegisterInfo : public MRegisterInfo {
|
||||||
MachineBasicBlock::iterator MI,
|
MachineBasicBlock::iterator MI,
|
||||||
unsigned DestReg, unsigned SrcReg,
|
unsigned DestReg, unsigned SrcReg,
|
||||||
const TargetRegisterClass *RC) const;
|
const TargetRegisterClass *RC) const;
|
||||||
void eliminateFrameIndex (MachineFunction &MF,
|
void eliminateFrameIndex (MachineBasicBlock::iterator MI) const;
|
||||||
MachineBasicBlock::iterator MI) const;
|
|
||||||
void emitPrologue (MachineFunction &MF) const;
|
void emitPrologue (MachineFunction &MF) const;
|
||||||
void emitEpilogue (MachineFunction &MF, MachineBasicBlock &MBB) const;
|
void emitEpilogue (MachineFunction &MF, MachineBasicBlock &MBB) const;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue