mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-10 01:10:48 +00:00
b25baef26f
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58838 91177308-0d34-0410-b5e6-96231b3b80d8
35 lines
899 B
C++
35 lines
899 B
C++
//===-- XCoreFrameInfo.h - Frame info for XCore Target -----------*- C++ -*-==//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file contains XCore frame information that doesn't fit anywhere else
|
|
// cleanly...
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef XCOREFRAMEINFO_H
|
|
#define XCOREFRAMEINFO_H
|
|
|
|
#include "llvm/Target/TargetFrameInfo.h"
|
|
#include "llvm/Target/TargetMachine.h"
|
|
|
|
namespace llvm {
|
|
class XCoreFrameInfo: public TargetFrameInfo {
|
|
|
|
public:
|
|
XCoreFrameInfo(const TargetMachine &tm);
|
|
|
|
//! Stack slot size (4 bytes)
|
|
static int stackSlotSize() {
|
|
return 4;
|
|
}
|
|
};
|
|
}
|
|
|
|
#endif // XCOREFRAMEINFO_H
|