pub fn function_slice<'a>(
stmts: &[Stmt<'a>],
target: Symbol,
interner: &Interner,
) -> Vec<Stmt<'a>>Expand description
The statements needed to compile target standalone: the target function plus
every function reachable from it through the call graph (transitively). Main and
top-level functions unreachable from target are dropped; definition order is
preserved.