Skip to main content

frame_of

Function frame_of 

Source
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.