Skip to main content

prune

Function prune 

Source
pub fn prune(next: *mut Node)
Expand description

Clip arcs to and from the node.

ยงSafety

next and every pointer reachable through its provides / depends sets must be live Nodes. None of the visited nodes alias next (the graph has no self-edges), so erasing next from their sets is sound.