Wyvern.Instruction.BR (wyvern v1.0.3)

Copy Markdown

Summary

Types

t()

@type t() :: %Wyvern.Instruction.BR{
  cond: Wyvern.Value.t(),
  id: reference(),
  if_false: Wyvern.Label.t() | nil,
  if_true: Wyvern.Label.t()
}

Functions

conditional(cond, if_true)

@spec conditional(Wyvern.Value.t(), Wyvern.Label.t()) :: t()

conditional(cond, if_true, if_false)

@spec conditional(Wyvern.Value.t(), Wyvern.Label.t(), Wyvern.Label.t()) :: t()

unconditional(if_true)

@spec unconditional(Wyvern.Label.t()) :: t()