diff --git a/lib/Target/Skeleton/SkeletonRegisterInfo.cpp b/lib/Target/Skeleton/SkeletonRegisterInfo.cpp index e47354655de..bb4651b6653 100644 --- a/lib/Target/Skeleton/SkeletonRegisterInfo.cpp +++ b/lib/Target/Skeleton/SkeletonRegisterInfo.cpp @@ -50,8 +50,8 @@ eliminateCallFramePseudoInstr(MachineFunction &MF, MachineBasicBlock &MBB, abort(); } -void SkeletonRegisterInfo::eliminateFrameIndex(MachineFunction &MF, - MachineBasicBlock::iterator II) const { +void SkeletonRegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator II) + const { abort(); } diff --git a/lib/Target/Skeleton/SkeletonRegisterInfo.h b/lib/Target/Skeleton/SkeletonRegisterInfo.h index b2d43abf395..af8526f399d 100644 --- a/lib/Target/Skeleton/SkeletonRegisterInfo.h +++ b/lib/Target/Skeleton/SkeletonRegisterInfo.h @@ -43,8 +43,7 @@ namespace llvm { MachineBasicBlock &MBB, MachineBasicBlock::iterator I) const; - void eliminateFrameIndex(MachineFunction &MF, - MachineBasicBlock::iterator II) const; + void eliminateFrameIndex(MachineBasicBlock::iterator II) const; void processFunctionBeforeFrameFinalized(MachineFunction &MF) const;