summaryrefslogtreecommitdiff
path: root/lib/Target/MRegisterInfo.cpp
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-04-10 23:09:19 +0000
committerJim Laskey <jlaskey@mac.com>2006-04-10 23:09:19 +0000
commit1069fbdd2fc637321ca69f501b8af4f321aeb9f7 (patch)
tree6e62b440d55e73b3524a21f640a73b2b9e43220e /lib/Target/MRegisterInfo.cpp
parent389a6f58f7d07930eaf4865b17a0682b0ee4c488 (diff)
downloadllvm-1069fbdd2fc637321ca69f501b8af4f321aeb9f7.tar.gz
llvm-1069fbdd2fc637321ca69f501b8af4f321aeb9f7.tar.bz2
llvm-1069fbdd2fc637321ca69f501b8af4f321aeb9f7.tar.xz
Use existing information.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27574 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MRegisterInfo.cpp')
-rw-r--r--lib/Target/MRegisterInfo.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Target/MRegisterInfo.cpp b/lib/Target/MRegisterInfo.cpp
index 4ddfe9f323..920bb5d3af 100644
--- a/lib/Target/MRegisterInfo.cpp
+++ b/lib/Target/MRegisterInfo.cpp
@@ -44,13 +44,6 @@ std::vector<bool> MRegisterInfo::getAllocatableSet(MachineFunction &MF) const {
return Allocatable;
}
-/// getStackDirection - This method should return the factor by which stacks
-/// grow. The tyical value is -4 which is the grows negatively in 4 byte
-/// increments.
-int MRegisterInfo::getStackDirection() const {
- return -sizeof(int32_t);
-}
-
/// getLocation - This method should return the actual location of a frame
/// variable given the frame index. The location is returned in ML.
/// Subclasses should override this method for special handling of frame