Enum gimli::write::CallFrameInstruction[][src]

pub enum CallFrameInstruction {
Show 15 variants Cfa(Registeri32), CfaRegister(Register), CfaOffset(i32), CfaExpression(Expression), Restore(Register), Undefined(Register), SameValue(Register), Offset(Registeri32), ValOffset(Registeri32), Register(RegisterRegister), Expression(RegisterExpression), ValExpression(RegisterExpression), 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(Registeri32)

Define the CFA rule to use the provided register and offset.

Tuple Fields of Cfa

0: Register1: i32
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
Offset(Registeri32)

The previous value of the register is saved at address CFA + offset.

Tuple Fields of Offset

0: Register1: i32
ValOffset(Registeri32)

The previous value of the register is CFA + offset.

Tuple Fields of ValOffset

0: Register1: i32
Register(RegisterRegister)

The previous value of the register is stored in another register.

Tuple Fields of Register

0: Register1: Register
Expression(RegisterExpression)

The previous value of the register is saved at address given by the expression.

Tuple Fields of Expression

0: Register1: Expression
ValExpression(RegisterExpression)

The previous value of the register is given by the expression.

Tuple Fields of ValExpression

0: Register1: 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.

Tuple Fields of ArgsSize

0: u32

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.