diff options
author | James Y Knight <jyknight@google.com> | 2015-08-15 02:32:35 +0000 |
---|---|---|
committer | James Y Knight <jyknight@google.com> | 2015-08-15 02:32:35 +0000 |
commit | 5567bafe93d8dfce39c4f9fa909165ef9ff0c30f (patch) | |
tree | c65a18906483a717708927b6d41a0b7b23e12333 /llvm/lib/Target/ARM/ARMFrameLowering.cpp | |
parent | caad877d3e7a98eb47a6dd9b536dab9319726387 (diff) | |
download | llvm-5567bafe93d8dfce39c4f9fa909165ef9ff0c30f.zip llvm-5567bafe93d8dfce39c4f9fa909165ef9ff0c30f.tar.gz llvm-5567bafe93d8dfce39c4f9fa909165ef9ff0c30f.tar.bz2 |
Remove redundant TargetFrameLowering::getFrameIndexOffset virtual
function.
This was the same as getFrameIndexReference, but without the FrameReg
output.
Differential Revision: http://reviews.llvm.org/D12042
llvm-svn: 245148
Diffstat (limited to 'llvm/lib/Target/ARM/ARMFrameLowering.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMFrameLowering.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/ARM/ARMFrameLowering.cpp b/llvm/lib/Target/ARM/ARMFrameLowering.cpp index ba0d5f2..68f9385 100644 --- a/llvm/lib/Target/ARM/ARMFrameLowering.cpp +++ b/llvm/lib/Target/ARM/ARMFrameLowering.cpp @@ -879,12 +879,6 @@ ARMFrameLowering::ResolveFrameIndexReference(const MachineFunction &MF, return Offset; } -int ARMFrameLowering::getFrameIndexOffset(const MachineFunction &MF, - int FI) const { - unsigned FrameReg; - return getFrameIndexReference(MF, FI, FrameReg); -} - void ARMFrameLowering::emitPushInst(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, const std::vector<CalleeSavedInfo> &CSI, |