1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
llvm-mirror/lib/Target/XCore/XCoreFrameInfo.h

35 lines
899 B
C
Raw Normal View History

2008-11-07 11:59:00 +01:00
//===-- 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