pub enum BranchInfo<'a> {
    NotABranch,
    SingleDest(Ebb, &'a [Value]),
    Table(JumpTableOption<Ebb>),
}
Expand description

Information about branch and jump instructions.

Variants§

§

NotABranch

This is not a branch or jump instruction. This instruction will not transfer control to another EBB in the function, but it may still affect control flow by returning or trapping.

§

SingleDest(Ebb, &'a [Value])

This is a branch or jump to a single destination EBB, possibly taking value arguments.

§

Table(JumpTableOption<Ebb>)

This is a jump table branch which can have many destination EBBs and maybe one default EBB.

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

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 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.