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.

§

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(Registeri32)

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

§

ValOffset(Registeri32)

The previous value of the register is CFA + offset.

§

Register(RegisterRegister)

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

§

Expression(RegisterExpression)

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

§

ValExpression(RegisterExpression)

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§

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 !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

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.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
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.