Skip to main content

Module conversion

Module conversion 

Source
Expand description

Conversion Between NaN-Boxed Bits and Runtime Values / ValueWord

Functions for bidirectional conversion between the JIT’s NaN-boxed u64 representation and the runtime’s value types (ValueWord and Value).

Structs§

JitTaskGroup
JIT-side representation of a TaskGroup for heap boxing.

Functions§

jit_bits_to_nanboxed
Convert JIT NaN-boxed bits directly to ValueWord (no intermediate Value/VMValue).
jit_bits_to_nanboxed_with_ctx
Convert JIT NaN-boxed bits to ValueWord with JITContext for function name lookup.
jit_bits_to_typed_scalar
Convert JIT NaN-boxed bits to a TypedScalar with an optional type hint.
nanboxed_to_jit_bits
Convert a ValueWord value directly to JIT NaN-boxed bits (no intermediate VMValue).
typed_scalar_to_jit_bits
Convert a TypedScalar to JIT NaN-boxed bits.