Fixed some bugs.
[llvm/zpu.git] / lib / Target / ARM / ARMFrameInfo.h
blobd5dae244249988ff549d3207b920be28b097eacc
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 //
12 //===----------------------------------------------------------------------===//
14 #ifndef ARM_FRAMEINFO_H
15 #define ARM_FRAMEINFO_H
17 #include "ARM.h"
18 #include "ARMSubtarget.h"
19 #include "llvm/Target/TargetFrameInfo.h"
21 namespace llvm {
23 class ARMFrameInfo : public TargetFrameInfo {
24 public:
25 explicit ARMFrameInfo(const ARMSubtarget &ST)
26 : TargetFrameInfo(StackGrowsDown, ST.getStackAlignment(), 0, 4) {
30 } // End llvm namespace
32 #endif