Enum cretonne_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]
fn clone(&self) -> StackBase
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for StackBase
[src]
impl Debug for StackBase
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for StackBase
[src]
fn eq(&self, __arg_0: &StackBase) -> bool
[src]
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]
This method tests for !=
.