From 905537852b53c8136a9b31407f651ff555119ff4 Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Sat, 14 Aug 2004 22:01:38 +0000 Subject: [PATCH] Eliminate MachineFunction& argument from eliminateFrameIndex in Skeleton target git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15737 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Skeleton/SkeletonRegisterInfo.cpp | 4 ++-- lib/Target/Skeleton/SkeletonRegisterInfo.h | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) 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;