aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2004-08-14 22:03:29 +0000
committerNate Begeman <natebegeman@mac.com>2004-08-14 22:03:29 +0000
commit1fa715a3999db81a9092ec79606c58d2a0edf36c (patch)
treed7689a83fccae494626d3b882245b55c8e3f4f63 /lib
parent905537852b53c8136a9b31407f651ff555119ff4 (diff)
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
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/SparcV9/SparcV9RegisterInfo.cpp4
-rw-r--r--lib/Target/SparcV9/SparcV9RegisterInfo.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/Target/SparcV9/SparcV9RegisterInfo.cpp b/lib/Target/SparcV9/SparcV9RegisterInfo.cpp
index abfe2107eb..bf8717eddf 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 9a3d8ec6c9..6b86c881c6 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;
};