Skip to main content

Module bytecode

Module bytecode 

Source
Expand description

Bytecode instruction set for Shape VM

Modules§

verifier
Bytecode verifier for trusted opcodes.

Structs§

BytecodeProgram
A compiled bytecode program
CompiledAnnotation
A compiled annotation definition.
DataFrameSchema
DebugInfo
Debug information for better error messages
DeoptInfo
Metadata for deoptimization – maps JIT state back to interpreter state.
ForeignFunctionEntry
Metadata for a foreign function stored in the program. The compiler creates these; the engine links them to language runtimes before execution.
Function
Function definition in bytecode
FunctionBlob
A self-contained, content-addressed function blob.
FunctionHash
InlineFrameInfo
Metadata for a single caller frame in a multi-frame inline deopt.
Instruction
A bytecode instruction with its operands
LinkedFunction
A linked function ready for execution in a flat instruction array.
LinkedProgram
A linked, execution-ready program with flat instruction/constant/string arrays.
NativeAbiSpec
Native C ABI metadata stored alongside a foreign function entry.
NativeStructFieldLayout
Native field layout metadata for one struct field.
NativeStructLayoutEntry
Native type C layout entry emitted by the compiler.
OsrEntryPoint
Metadata for an OSR entry point (typically a loop header).
Program
A content-addressed program: a set of FunctionBlobs plus program-level metadata.
SourceMap
Source file table for multi-file programs
StringId
Re-export StringId from shape-value — the canonical definition. A string pool identifier. Indexes into BytecodeProgram::strings.

Enums§

BuiltinFunction
Built-in functions
Constant
Constants in the constant pool
NumericWidth
Numeric width tag for compact typed opcodes (AddTyped, SubTyped, etc.).
OpCode
OpcodeCategory
Opcode category for classification and tooling.
Operand
Instruction operands