Skip to main content

try_vm_execute

Function try_vm_execute 

Source
pub fn try_vm_execute(
    program: &Program,
    interp: &mut Interpreter,
) -> Option<PerlResult<PerlValue>>
Expand description

Try to compile and run via bytecode VM. Returns None if compilation fails.

.pec bytecode cache integration. When interp.pec_precompiled_chunk is populated (set by the stryke driver from a crate::pec::try_load hit), this function skips compile_program entirely and runs the preloaded chunk. On cache miss the compiler runs normally and, if interp.pec_cache_fingerprint is set, the fresh chunk + program are persisted as a .pec bundle so the next warm start can skip both parse and compile.