Skip to main content

Module builder

Module builder 

Source
Expand description

The construction API the lowering emits through: one method per operand format, forward jumps patched by index, and finish into a CodeUnit.

Each method asserts (in debug builds) that the opcode has the format it is built with; the publication validator checks the operand values.

Structsยง

CodeBuilder
UnitLayout
The parts of a CodeUnit that are not instructions.