Enum gimli::write::CallFrameInstruction
source · [−]pub enum CallFrameInstruction {
Show 15 variants
Cfa(Register, i32),
CfaRegister(Register),
CfaOffset(i32),
CfaExpression(Expression),
Restore(Register),
Undefined(Register),
SameValue(Register),
Offset(Register, i32),
ValOffset(Register, i32),
Register(Register, Register),
Expression(Register, Expression),
ValExpression(Register, Expression),
RememberState,
RestoreState,
ArgsSize(u32),
}
Expand description
An instruction in a frame description entry.
This may be a CFA definition, a register rule, or some other directive.
Variants
Cfa(Register, i32)
Define the CFA rule to use the provided register and offset.
CfaRegister(Register)
Update the CFA rule to use the provided register. The offset is unchanged.
CfaOffset(i32)
Update the CFA rule to use the provided offset. The register is unchanged.
CfaExpression(Expression)
Define the CFA rule to use the provided expression.
Restore(Register)
Restore the initial rule for the register.
Undefined(Register)
The previous value of the register is not recoverable.
SameValue(Register)
The register has not been modified.
Offset(Register, i32)
The previous value of the register is saved at address CFA + offset.
ValOffset(Register, i32)
The previous value of the register is CFA + offset.
Register(Register, Register)
The previous value of the register is stored in another register.
Expression(Register, Expression)
The previous value of the register is saved at address given by the expression.
ValExpression(Register, Expression)
The previous value of the register is given by the expression.
RememberState
Push all register rules onto a stack.
RestoreState
Pop all register rules off the stack.
ArgsSize(u32)
The size of the arguments that have been pushed onto the stack.
Trait Implementations
sourceimpl Clone for CallFrameInstruction
impl Clone for CallFrameInstruction
sourcefn clone(&self) -> CallFrameInstruction
fn clone(&self) -> CallFrameInstruction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CallFrameInstruction
impl Debug for CallFrameInstruction
sourceimpl Hash for CallFrameInstruction
impl Hash for CallFrameInstruction
sourceimpl PartialEq<CallFrameInstruction> for CallFrameInstruction
impl PartialEq<CallFrameInstruction> for CallFrameInstruction
sourcefn eq(&self, other: &CallFrameInstruction) -> bool
fn eq(&self, other: &CallFrameInstruction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CallFrameInstruction) -> bool
fn ne(&self, other: &CallFrameInstruction) -> bool
This method tests for !=
.
impl Eq for CallFrameInstruction
impl StructuralEq for CallFrameInstruction
impl StructuralPartialEq for CallFrameInstruction
Auto Trait Implementations
impl RefUnwindSafe for CallFrameInstruction
impl Send for CallFrameInstruction
impl Sync for CallFrameInstruction
impl Unpin for CallFrameInstruction
impl UnwindSafe for CallFrameInstruction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more