X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FTarget%2FAArch64%2FAArch64FrameLowering.cpp;h=cd5821f081c32726adf26392ab88bc31aa4935d3;hp=5b8db3d157f01f8d5c2e1b042f480da17faa5554;hb=276ea22dc9394895602695c396844268c7d64a42;hpb=c37a088af25be6ff5950d592eca6f6213cd5d0e8 diff --git a/lib/Target/AArch64/AArch64FrameLowering.cpp b/lib/Target/AArch64/AArch64FrameLowering.cpp index 5b8db3d157f..cd5821f081c 100644 --- a/lib/Target/AArch64/AArch64FrameLowering.cpp +++ b/lib/Target/AArch64/AArch64FrameLowering.cpp @@ -636,14 +636,6 @@ void AArch64FrameLowering::emitEpilogue(MachineFunction &MF, -(NumRestores - 1) * 16, TII, MachineInstr::NoFlags); } -/// getFrameIndexOffset - Returns the displacement from the frame register to -/// the stack frame of the specified index. -int AArch64FrameLowering::getFrameIndexOffset(const MachineFunction &MF, - int FI) const { - unsigned FrameReg; - return getFrameIndexReference(MF, FI, FrameReg); -} - /// getFrameIndexReference - Provide a base+offset reference to an FI slot for /// debug info. It's the same as what we use for resolving the code-gen /// references for now. FIXME: This can go wrong when references are