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§
source§impl Clone for CallFrameInstruction
impl Clone for CallFrameInstruction
source§fn clone(&self) -> CallFrameInstruction
fn clone(&self) -> CallFrameInstruction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CallFrameInstruction
impl Debug for CallFrameInstruction
source§impl Hash for CallFrameInstruction
impl Hash for CallFrameInstruction
source§impl PartialEq<CallFrameInstruction> for CallFrameInstruction
impl PartialEq<CallFrameInstruction> for CallFrameInstruction
source§fn eq(&self, other: &CallFrameInstruction) -> bool
fn eq(&self, other: &CallFrameInstruction) -> bool
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§
source§impl<T> CallHasher for Twhere
T: Hash + ?Sized,
impl<T> CallHasher for Twhere
T: Hash + ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.