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

Use the stack pointer.

Use the frame pointer (if one is present).

Use an explicit zone pointer in a general-purpose register.

This feature is not yet implemented.

Trait Implementations

impl Clone for StackBase
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for StackBase
[src]

impl Debug for StackBase
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for StackBase
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for StackBase
[src]

Auto Trait Implementations

impl Send for StackBase

impl Sync for StackBase