Skip to main content

take_inert_locals

Function take_inert_locals 

Source
fn take_inert_locals(
    hir: &Hir<'_>,
    func_id: FunctionId,
    state: &mut FlowState,
) -> (BTreeMap<VariableId, BTreeSet<BalanceForm>>, BTreeMap<VariableId, BTreeSet<BalanceForm>>)
Expand description

Takes out the balance forms and dependencies that are balance-independent and belong to locals of functions other than func_id, whose paths do not mention func_id’s locals.