Skip to main content

order

Function order 

Source
pub fn order(graph: &CallGraph, closed: &[FuncId]) -> Vec<Vec<FuncId>>
Expand description

The components of the call graph with callers before callees, each holding only closed nodes.

CallGraph::components is callees first, so this is that read backwards. A component with no closed function in it is left out rather than walked over, since the round inside it would compute nothing.