Skip to main content

current_thread_frame_materialize

Function current_thread_frame_materialize 

Source
pub fn current_thread_frame_materialize(
    vm: &VirtualMachine,
) -> Option<FrameObjectRef>
Expand description

The current thread’s topmost frame object, materializing if necessary. Unlike current_thread_frame(), this always returns Some if there is an active frame, even if it’s stack-allocated and hasn’t been observed yet. Uses vm.current_frame Cell for fast lookup (no TLS).