Skip to main content

Module types

Module types 

Source
Expand description

Auto-generated module

🤖 Generated with SplitRS

Structs§

BasicBlock
A basic block: a maximal sequence of non-branching instructions.
BytecodeChunk
A named sequence of opcodes.
BytecodeCompiler
A simple compiler from common expression patterns to bytecode chunks.
CallFrame
A saved call frame for nested function calls.
ChunkBuilder
A DSL-style builder for constructing bytecode chunks.
ChunkStats
Statistics about a bytecode chunk.
ConstantFolder
A more comprehensive constant folding pass that folds sequences of constant push + arithmetic/logic instructions into a single Push.
DeadCodeEliminator
Remove instructions that can never be executed.
EncodedInstruction
Compact binary encoding of a single opcode.
FramedInterpreter
An interpreter that manages a proper call frame stack.
InlineCache
A per-chunk inline cache.
InlineCacheEntry
A simple inline cache entry for a call site.
Interpreter
A simple stack-based bytecode interpreter.
LivenessInfo
Result of liveness analysis for a single chunk.
OpcodeInfo
A dispatch table mapping opcode tags to handler descriptions.
OpcodeProfile
Counts how many times each opcode type was executed.
PeepholeOptimizer
A simple peephole optimizer for bytecode chunks.
ProfilingInterpreter
An interpreter variant that tracks opcode profiling information.

Enums§

CallResult
Result of applying a call convention.
Opcode
A single bytecode instruction.
StackValue
A value on the interpreter stack.