Enum gimli::write::CallFrameInstruction [−][src]
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
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.
Tuple Fields of CfaRegister
0: Register
CfaOffset(i32)
Update the CFA rule to use the provided offset. The register is unchanged.
Tuple Fields of CfaOffset
0: i32
CfaExpression(Expression)
Define the CFA rule to use the provided expression.
Tuple Fields of CfaExpression
0: Expression
Restore(Register)
Restore the initial rule for the register.
Tuple Fields of Restore
0: Register
Undefined(Register)
The previous value of the register is not recoverable.
Tuple Fields of Undefined
0: Register
SameValue(Register)
The register has not been modified.
Tuple Fields of SameValue
0: Register
The previous value of the register is saved at address CFA + offset.
The previous value of the register is CFA + offset.
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.
Tuple Fields of Expression
0: Register
1: Expression
ValExpression(Register, Expression)
The previous value of the register is given by the expression.
Tuple Fields of ValExpression
0: Register
1: Expression
Push all register rules onto a stack.
Pop all register rules off the stack.
ArgsSize(u32)
The size of the arguments that have been pushed onto the stack.
Tuple Fields of ArgsSize
0: u32
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.