Move getInitialFrameState from TargetFrameInfo to MCAsmInfo (suggestions for

better location welcome).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135438 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2011-07-18 22:29:13 +00:00
parent 91614aec48
commit 2d28617de2
44 changed files with 114 additions and 134 deletions

View File

@ -300,13 +300,6 @@ void MipsFrameLowering::emitEpilogue(MachineFunction &MF,
}
}
void
MipsFrameLowering::getInitialFrameState(std::vector<MachineMove> &Moves) const {
MachineLocation Dst(MachineLocation::VirtualFP);
MachineLocation Src(Mips::SP, 0);
Moves.push_back(MachineMove(0, Dst, Src));
}
void MipsFrameLowering::
processFunctionBeforeCalleeSavedScan(MachineFunction &MF,
RegScavenger *RS) const {