diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-03 18:55:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-03 18:55:44 +0000 |
commit | fb1fcf08c9caeac84d5b51a3a250283b2127fc6d (patch) | |
tree | 5df75961125dab0d7ec7e9c3c6404d1070feccbe | |
parent | 7a2144b060fef21908f6a1343df338ecde2e1b81 (diff) |
remove some more dead sparcv9 support stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29506 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Target/TargetFrameInfo.h | 25 | ||||
-rw-r--r-- | lib/Target/TargetFrameInfo.cpp | 64 |
2 files changed, 1 insertions, 88 deletions
diff --git a/include/llvm/Target/TargetFrameInfo.h b/include/llvm/Target/TargetFrameInfo.h index c302096bf1..f5ecf2f407 100644 --- a/include/llvm/Target/TargetFrameInfo.h +++ b/include/llvm/Target/TargetFrameInfo.h @@ -75,31 +75,6 @@ public: NumEntries = 0; return 0; } - - //===--------------------------------------------------------------------===// - // These methods provide details of the stack frame used by Sparc, thus they - // are Sparc specific. - //===--------------------------------------------------------------------===// - - // This method adjusts a stack offset to meet alignment rules of target. - virtual int adjustAlignment(int unalignedOffset, bool growUp, - unsigned align) const; - - // These methods compute offsets using the frame contents for a particular - // function. The frame contents are obtained from the MachineFunction object - // for the given function. The rest must be implemented by the - // machine-specific subclass. - // - virtual int getIncomingArgOffset(MachineFunction& mcInfo, - unsigned argNum) const; - virtual int getOutgoingArgOffset(MachineFunction& mcInfo, - unsigned argNum) const; - virtual int getFirstAutomaticVarOffset(MachineFunction& mcInfo, - bool& growUp) const; - virtual int getRegSpillAreaOffset(MachineFunction& mcInfo, - bool& growUp) const; - virtual int getTmpAreaOffset(MachineFunction& mcInfo, bool& growUp) const; - virtual int getDynamicAreaOffset(MachineFunction& mcInfo, bool& growUp) const; }; } // End llvm namespace diff --git a/lib/Target/TargetFrameInfo.cpp b/lib/Target/TargetFrameInfo.cpp index 0b74677312..e6f15b119d 100644 --- a/lib/Target/TargetFrameInfo.cpp +++ b/lib/Target/TargetFrameInfo.cpp @@ -13,69 +13,7 @@ #include "llvm/Target/TargetFrameInfo.h" #include <cstdlib> - using namespace llvm; -TargetFrameInfo::~TargetFrameInfo() -{ -} - -//===--------------------------------------------------------------------===// -// These methods provide details of the stack frame used by Sparc, thus they -// are Sparc specific. -//===--------------------------------------------------------------------===// - -// This method adjusts a stack offset to meet alignment rules of target. -int -TargetFrameInfo::adjustAlignment(int unalignedOffset, bool growUp, - unsigned align) const { - abort(); - return 0; -} - -// These methods compute offsets using the frame contents for a particular -// function. The frame contents are obtained from the MachineFunction object -// for the given function. The rest must be implemented by the -// machine-specific subclass. -// -int -TargetFrameInfo::getIncomingArgOffset(MachineFunction& mcInfo, unsigned argNum) - const { - abort(); - return 0; -} - -int -TargetFrameInfo::getOutgoingArgOffset(MachineFunction& mcInfo, - unsigned argNum) const { - abort(); - return 0; +TargetFrameInfo::~TargetFrameInfo() { } - -int -TargetFrameInfo::getFirstAutomaticVarOffset(MachineFunction& mcInfo, - bool& growUp) const { - abort(); - return 0; -} - -int -TargetFrameInfo::getRegSpillAreaOffset(MachineFunction& mcInfo, bool& growUp) - const { - abort(); - return 0; -} - -int -TargetFrameInfo::getTmpAreaOffset(MachineFunction& mcInfo, bool& growUp) const { - abort(); - return 0; -} - -int -TargetFrameInfo::getDynamicAreaOffset(MachineFunction& mcInfo, bool& growUp) - const { - abort(); - return 0; -} - |