diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2024-07-26 22:04:10 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2024-07-26 22:04:10 +0000 |
| commit | ac9a064cb179f3425b310fa2847f8764ac970a4d (patch) | |
| tree | 6f945cdaa68c2b4c688dcf9fec4f922d35f4d1a4 /llvm/lib/Target/Mips/Mips16FrameLowering.cpp | |
| parent | 4df029cc74e5ec124f14a5682e44999ce4f086df (diff) | |
Diffstat (limited to 'llvm/lib/Target/Mips/Mips16FrameLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/Mips/Mips16FrameLowering.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/Mips16FrameLowering.cpp b/llvm/lib/Target/Mips/Mips16FrameLowering.cpp index 10c953bb344a..f72c49eb707d 100644 --- a/llvm/lib/Target/Mips/Mips16FrameLowering.cpp +++ b/llvm/lib/Target/Mips/Mips16FrameLowering.cpp @@ -54,8 +54,7 @@ void Mips16FrameLowering::emitPrologue(MachineFunction &MF, // No need to allocate space on the stack. if (StackSize == 0 && !MFI.adjustsStack()) return; - MachineModuleInfo &MMI = MF.getMMI(); - const MCRegisterInfo *MRI = MMI.getContext().getRegisterInfo(); + const MCRegisterInfo *MRI = MF.getContext().getRegisterInfo(); // Adjust stack. TII.makeFrame(Mips::SP, StackSize, MBB, MBBI); |
