summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMFrameLowering.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-06-26 19:29:59 +0000
committerEric Christopher <echristo@gmail.com>2014-06-26 19:29:59 +0000
commit1bb7dd619d8786cd4bb80428d80d845286d34c76 (patch)
tree92f4461670ff9becb6fabc97fd295b919ade5348 /lib/Target/ARM/ARMFrameLowering.cpp
parente0dd8fd5522dd3d296f6add1f354ac944d976d98 (diff)
downloadllvm-1bb7dd619d8786cd4bb80428d80d845286d34c76.tar.gz
llvm-1bb7dd619d8786cd4bb80428d80d845286d34c76.tar.bz2
llvm-1bb7dd619d8786cd4bb80428d80d845286d34c76.tar.xz
Move the frame lowering constructors out of line to avoid circular
includes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211798 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMFrameLowering.cpp')
-rw-r--r--lib/Target/ARM/ARMFrameLowering.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMFrameLowering.cpp b/lib/Target/ARM/ARMFrameLowering.cpp
index 6888ae994c..a67b3600c4 100644
--- a/lib/Target/ARM/ARMFrameLowering.cpp
+++ b/lib/Target/ARM/ARMFrameLowering.cpp
@@ -39,6 +39,10 @@ static MachineBasicBlock::iterator
skipAlignedDPRCS2Spills(MachineBasicBlock::iterator MI,
unsigned NumAlignedDPRCS2Regs);
+ARMFrameLowering::ARMFrameLowering(const ARMSubtarget &sti)
+ : TargetFrameLowering(StackGrowsDown, sti.getStackAlignment(), 0, 4),
+ STI(sti) {}
+
/// hasFP - Return true if the specified function should have a dedicated frame
/// pointer register. This is true if the function has variable sized allocas
/// or if frame pointer elimination is disabled.