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
SP
Use the stack pointer.
FP
Use the frame pointer (if one is present).
Zone
Use 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 StackBase
fn clone(&self) -> StackBase
[src]
fn clone(&self) -> StackBase
Returns 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 StackBase
impl Debug for StackBase
[src]
impl Debug for StackBase
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for StackBase
[src]
impl PartialEq for StackBase
fn eq(&self, other: &StackBase) -> bool
[src]
fn eq(&self, other: &StackBase) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for StackBase
[src]
impl Eq for StackBase