pub fn frame_of(prog: &CompiledProgram, pc: usize) -> Option<usize>Expand description
The function that owns pc — the one with the greatest entry_pc ≤ pc (Main is compiled first,
then each function body appended contiguously; see vm/compiler.rs Pass 2a/2b). None = Main.