[][src]Module runestick::unit

A single execution unit in the runestick virtual machine.

A unit consists of a sequence of instructions, and lookaside tables for metadata like function locations.

Structs

Assembly

Helper structure to build instructions and maintain certain invariants.

DebugInfo

Debug information for every instruction.

Label

A label that can be jumped to.

LinkerErrors

Linker errors.

Span

A span corresponding to a range in the source file being parsed.

Unit

Instructions from a single source file.

UnitFnInfo

Information about a registered function.

UnitFnSignature

A description of a function signature.

UnitTypeInfo

Information on a type.

Enums

LinkerError

An error raised during linking.

UnitError

Errors raised when building a new unit.

UnitFnCall

How the function is called.

UnitFnKind

The kind of a registered function.