Struct cranelift_codegen::ir::entities::StackSlot [−][src]
pub struct StackSlot(_);
Expand description
An opaque reference to a stack slot.
Stack slots represent an address on the call stack.
StackSlot
s can be created with
FunctionBuilder::create_stackslot
.
StackSlot
s are most often used with
stack_addr
,
stack_load
, and
stack_store
.
While the order is stable, it is arbitrary and does not necessarily resemble the stack order.
Implementations
Create a new stack slot reference from its number.
This method is for use by the parser.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Create an instance of the reserved value.
Checks whether value is the reserved one.
Auto Trait Implementations
impl RefUnwindSafe for StackSlot
impl UnwindSafe for StackSlot
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.