mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-12-09 03:19:21 +00:00
Remove the TargetMachine forwards for TargetSubtargetInfo based
information and update all callers. No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214781 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -100,7 +100,8 @@ bool MipsFrameLowering::hasFP(const MachineFunction &MF) const {
|
||||
|
||||
uint64_t MipsFrameLowering::estimateStackSize(const MachineFunction &MF) const {
|
||||
const MachineFrameInfo *MFI = MF.getFrameInfo();
|
||||
const TargetRegisterInfo &TRI = *MF.getTarget().getRegisterInfo();
|
||||
const TargetRegisterInfo &TRI =
|
||||
*MF.getTarget().getSubtargetImpl()->getRegisterInfo();
|
||||
|
||||
int64_t Offset = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user