1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

Add documentation to the TargetFrameInfo class, contributed by Vladimir Prus

llvm-svn: 14060
This commit is contained in:
Chris Lattner 2004-06-08 06:23:17 +00:00
parent e967dde9ca
commit 0c385225b2

View File

@ -18,6 +18,13 @@ namespace llvm {
class MachineFunction;
/// Information about stack frame layout on the target. It holds the direction
/// of stack growth, the known stack alignment on entry to each function, and
/// the offset to the locals area.
///
/// The offset to the local area is the offset from the stack pointer on
/// function entry to the first location where function data (local variables,
/// spill locations) can be stored.
struct TargetFrameInfo {
enum StackDirection {
StackGrowsUp, // Adding to the stack increases the stack address