fn rerun_scc_in_isolation<'tcx>(
graph: &mut ControlFlowGraph<'tcx>,
root: usize,
_scc_components: &[usize],
)Expand description
Re-run SCC discovery with a temporarily reduced graph to discover nested SCCs.
Isolates the SCC rooted at root by:
- Redirecting block 0 to point only to
root. - Removing back edges to
root. - Cutting all outgoing edges from SCC exit targets.
After re-running SCC discovery, all edges are restored.