d304bc8d7a232fa6e58110c6eb27a5a8cfb7a5cd
[oota-llvm.git] / lib / Target / ARM / ARMFrameInfo.h
1 //===-- ARMTargetFrameInfo.h - Define TargetFrameInfo for ARM ---*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 //
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef ARM_FRAMEINFO_H
15 #define ARM_FRAMEINFO_H
16
17 #include "ARM.h"
18 #include "ARMSubtarget.h"
19 #include "llvm/Target/TargetFrameInfo.h"
20
21 namespace llvm {
22
23 class ARMFrameInfo : public TargetFrameInfo {
24 public:
25   explicit ARMFrameInfo(const ARMSubtarget &ST)
26     : TargetFrameInfo(StackGrowsDown, ST.getStackAlignment(), 0) {
27   }
28 };
29
30 } // End llvm namespace
31
32 #endif