From 1fa715a3999db81a9092ec79606c58d2a0edf36c Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Sat, 14 Aug 2004 22:03:29 +0000 Subject: [PATCH] Eliminate MachineFunction& argument from eliminateFrameIndex in SparcV9 target git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15738 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/SparcV9/SparcV9RegisterInfo.cpp | 4 ++-- lib/Target/SparcV9/SparcV9RegisterInfo.h | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/Target/SparcV9/SparcV9RegisterInfo.cpp b/lib/Target/SparcV9/SparcV9RegisterInfo.cpp index abfe2107eb6..bf8717eddfd 100644 --- a/lib/Target/SparcV9/SparcV9RegisterInfo.cpp +++ b/lib/Target/SparcV9/SparcV9RegisterInfo.cpp @@ -297,8 +297,8 @@ int SparcV9RegisterInfo::copyRegToReg(MachineBasicBlock &MBB, abort (); } -void SparcV9RegisterInfo::eliminateFrameIndex(MachineFunction &MF, - MachineBasicBlock::iterator MI) const { +void SparcV9RegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator MI) + const { abort (); } diff --git a/lib/Target/SparcV9/SparcV9RegisterInfo.h b/lib/Target/SparcV9/SparcV9RegisterInfo.h index 9a3d8ec6c93..6b86c881c6e 100644 --- a/lib/Target/SparcV9/SparcV9RegisterInfo.h +++ b/lib/Target/SparcV9/SparcV9RegisterInfo.h @@ -37,8 +37,7 @@ struct SparcV9RegisterInfo : public MRegisterInfo { MachineBasicBlock::iterator MI, unsigned DestReg, unsigned SrcReg, const TargetRegisterClass *RC) const; - void eliminateFrameIndex (MachineFunction &MF, - MachineBasicBlock::iterator MI) const; + void eliminateFrameIndex (MachineBasicBlock::iterator MI) const; void emitPrologue (MachineFunction &MF) const; void emitEpilogue (MachineFunction &MF, MachineBasicBlock &MBB) const; };