mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
[CodeGen][NFC] Remove unused virtual function
`TargetFrameLowering::emitCalleeSavedFrameMoves` with 4 arguments is not used anywhere in CodeGen. Thus it shouldn't be exposed as a virtual function. NFC. Differential Revision: https://reviews.llvm.org/D103328
This commit is contained in:
parent
59cb7dced8
commit
fc07b73b83
@ -216,11 +216,6 @@ public:
|
||||
emitCalleeSavedFrameMoves(MachineBasicBlock &MBB,
|
||||
MachineBasicBlock::iterator MBBI) const {}
|
||||
|
||||
virtual void emitCalleeSavedFrameMoves(MachineBasicBlock &MBB,
|
||||
MachineBasicBlock::iterator MBBI,
|
||||
const DebugLoc &DL,
|
||||
bool IsPrologue) const {}
|
||||
|
||||
/// Replace a StackProbe stub (if any) with the actual probe code inline
|
||||
virtual void inlineStackProbe(MachineFunction &MF,
|
||||
MachineBasicBlock &PrologueMBB) const {}
|
||||
|
@ -447,9 +447,9 @@ void M68kFrameLowering::BuildCFI(MachineBasicBlock &MBB,
|
||||
.addCFIIndex(CFIIndex);
|
||||
}
|
||||
|
||||
void M68kFrameLowering::emitCalleeSavedFrameMoves(
|
||||
void M68kFrameLowering::emitPrologueCalleeSavedFrameMoves(
|
||||
MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
|
||||
const DebugLoc &DL, bool IsProlog) const {
|
||||
const DebugLoc &DL) const {
|
||||
MachineFunction &MF = *MBB.getParent();
|
||||
MachineFrameInfo &MFI = MF.getFrameInfo();
|
||||
MachineModuleInfo &MMI = MF.getMMI();
|
||||
@ -656,7 +656,7 @@ void M68kFrameLowering::emitPrologue(MachineFunction &MF,
|
||||
|
||||
// Emit DWARF info specifying the offsets of the callee-saved registers.
|
||||
if (PushedRegs)
|
||||
emitCalleeSavedFrameMoves(MBB, MBBI, DL, true);
|
||||
emitPrologueCalleeSavedFrameMoves(MBB, MBBI, DL);
|
||||
}
|
||||
|
||||
// TODO Interrupt handlers
|
||||
|
@ -57,10 +57,9 @@ class M68kFrameLowering : public TargetFrameLowering {
|
||||
void BuildCFI(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
|
||||
const DebugLoc &DL, const MCCFIInstruction &CFIInst) const;
|
||||
|
||||
void emitCalleeSavedFrameMoves(MachineBasicBlock &MBB,
|
||||
void emitPrologueCalleeSavedFrameMoves(MachineBasicBlock &MBB,
|
||||
MachineBasicBlock::iterator MBBI,
|
||||
const DebugLoc &DL,
|
||||
bool IsProlog) const override;
|
||||
const DebugLoc &DL) const;
|
||||
|
||||
unsigned getPSPSlotOffsetFromSP(const MachineFunction &MF) const;
|
||||
|
||||
|
@ -65,8 +65,7 @@ public:
|
||||
|
||||
void emitCalleeSavedFrameMoves(MachineBasicBlock &MBB,
|
||||
MachineBasicBlock::iterator MBBI,
|
||||
const DebugLoc &DL,
|
||||
bool IsPrologue) const override;
|
||||
const DebugLoc &DL, bool IsPrologue) const;
|
||||
|
||||
/// emitProlog/emitEpilog - These methods insert prolog and epilog code into
|
||||
/// the function.
|
||||
|
Loading…
Reference in New Issue
Block a user