Function rustc_middle::mir::traversal::preorder
source · pub fn preorder<'a, 'tcx>(body: &'a Body<'tcx>) -> Preorder<'a, 'tcx> ⓘ
Expand description
Preorder traversal of a graph.
This function creates an iterator over the Body
’s basic blocks, that
returns basic blocks in a preorder.
See Preorder
’s docs to learn what is preorder traversal.