Struct cranelift_codegen::ir::stackslot::StackSlotData [−][src]
pub struct StackSlotData {
pub kind: StackSlotKind,
pub size: StackSize,
pub offset: Option<StackOffset>,
}Expand description
Contents of a stack slot.
Fields
kind: StackSlotKindThe kind of stack slot.
size: StackSizeSize of stack slot in bytes.
offset: Option<StackOffset>Offset of stack slot relative to the stack pointer in the caller.
On x86, the base address is the stack pointer before the return address was pushed. On RISC ISAs, the base address is the value of the stack pointer on entry to the function.
For OutgoingArg stack slots, the offset is relative to the current function’s stack
pointer immediately before the call.
Implementations
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for StackSlotData
impl Send for StackSlotData
impl Sync for StackSlotData
impl Unpin for StackSlotData
impl UnwindSafe for StackSlotData
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.