Enum rune_ssa::Term [−][src]
pub enum Term { Panic, JumpIf { condition: Assign, then_block: BlockId, else_block: BlockId, }, Jump { block: BlockId, }, Return { var: Assign, }, }
Expand description
An operation that terminates a block.
Variants
Default termination. The procedure will panic.
Conditionally jump to the given block if the given condition is true.
Fields of JumpIf
Unconditionally jump to the given block.
Fields of Jump
block: BlockId
Block to jump to.
Return from the current procedure with the given value.
Fields of Return
var: Assign
The value to return.