Disable stack coloring with register for now. It's not able to set kill markers.
[llvm/avr.git] / lib / Target / XCore / XCoreFrameInfo.h
blob2c67577181ecb3b9332cff06cdb60fa869a3a261
1 //===-- XCoreFrameInfo.h - Frame info for XCore Target -----------*- 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 // This file contains XCore frame information that doesn't fit anywhere else
11 // cleanly...
13 //===----------------------------------------------------------------------===//
15 #ifndef XCOREFRAMEINFO_H
16 #define XCOREFRAMEINFO_H
18 #include "llvm/Target/TargetFrameInfo.h"
19 #include "llvm/Target/TargetMachine.h"
21 namespace llvm {
22 class XCoreFrameInfo: public TargetFrameInfo {
24 public:
25 XCoreFrameInfo(const TargetMachine &tm);
27 //! Stack slot size (4 bytes)
28 static int stackSlotSize() {
29 return 4;
34 #endif // XCOREFRAMEINFO_H