Enum cranelift_codegen::isa::StackBase [−][src]
pub enum StackBase {
SP,
FP,
Zone,
}Generic base register for referencing stack slots.
Most ISAs have a stack pointer and an optional frame pointer, so provide generic names for those two base pointers.
Variants
SPUse the stack pointer.
FPUse the frame pointer (if one is present).
ZoneUse an explicit zone pointer in a general-purpose register.
This feature is not yet implemented.
Trait Implementations
impl Clone for StackBase[src]
impl Clone for StackBasefn clone(&self) -> StackBase[src]
fn clone(&self) -> StackBaseReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for StackBase[src]
impl Copy for StackBaseimpl Debug for StackBase[src]
impl Debug for StackBasefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for StackBase[src]
impl PartialEq for StackBasefn eq(&self, other: &StackBase) -> bool[src]
fn eq(&self, other: &StackBase) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for StackBase[src]
impl Eq for StackBase