Struct cretonne_codegen::isa::StackRef [] [src]

pub struct StackRef {
    pub base: StackBase,
    pub offset: StackOffset,
}

A method for referencing a stack slot in the current stack frame.

Stack slots are addressed with a constant offset from a base register. The base can be the stack pointer, the frame pointer, or (in the future) a zone register pointing to an inner zone of a large stack frame.

Fields

The base register to use for addressing.

Immediate offset from the base register to the first byte of the stack slot.

Methods

impl StackRef
[src]

[src]

Get a reference to the stack slot ss using one of the base pointers in mask.

[src]

Get a reference to ss using the stack pointer as a base.

Trait Implementations

impl Clone for StackRef
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for StackRef
[src]

impl Debug for StackRef
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for StackRef

impl Sync for StackRef