Skip to main content

on_ext

Function on_ext 

Source
pub fn on_ext(vm: &mut VM, id: u16)
Expand description

Extension-handler shim kept for the Op::Extended dispatch seam registered in host::run_chunk_on. node-js emits DBG_LINE as Op::CallBuiltin, not Op::Extended, so in the current wiring the live hook is on_debug_line (invoked from the DBG_LINE builtin — see builtins::b_dbg_line). This shim routes an Extended(DBG_LINE) marker to the same logic should the emission seam ever be switched, and is a no-op for every other extension id.