Skip to main content

Crate runmat_vm

Crate runmat_vm 

Source

Modules§

accel
compile

Structs§

AsyncMetadata
AwaitSite
Bytecode
BytecodeRegion
BytecodeRegionBoundary
CompileError
FunctionBytecode
FunctionRegistry
FusionCandidateGroup
FusionInstructionWindow
FusionMetadata
InterpreterResumeState
Exact VM-owned state materialized from a native empty-stack MIR boundary.
InterpreterState
PendingWorkspaceGuard
SpawnSite
StackEffect
VmAssemblyLayout
VmEntrypointLayout
VmFunctionLayout
VmSlotId
WorkspaceAssignedReport

Enums§

EmitLabel
FusionInstructionKind
Instr
InterpreterOutcome
LayoutError

Constants§

BYTECODE_SCHEMA_VERSION
Portable schema for serialized Bytecode payloads.
FUNCTION_REGISTRY_SCHEMA_VERSION
Portable schema for serialized FunctionRegistry payloads.
VM_LAYOUT_SCHEMA_VERSION
Portable schema for serialized VmAssemblyLayout payloads.

Functions§

compile
compile_semantic_function_registry
derive_layout
execute_program_request
interpret
interpret_function
interpret_function_with_counts
interpret_resume_in_context
interpret_with_vars
interpret_with_vars_in_context
invoke_semantic_function_value
invoke_semantic_function_value_in_context
materialize_deferred_call
prepare_native_execution_metadata
Install immutable bytecode metadata that native execution does not visit as ordinary MIR sites. Core calls this before entering a native unit so class definitions have the same runtime visibility as interpreter execution.
push_dynamic_eval_options
push_pending_workspace
remap_layout_function_ids
Apply Core’s unit-local to session/program function publication map to the retained VM layout. Binding and local-slot identities remain unchanged.
set_dynamic_eval_options
take_updated_workspace_assigned_report
take_updated_workspace_state