Skip to content

Commit

Permalink
Update crates/noirc_evaluator/src/ssa_refactor/opt/defunctionalize.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
sirasistant authored Jul 19, 2023
1 parent 5014f61 commit e3a87ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ impl DefunctionalizationContext {
}
}

/// Collects all functions that can be called by their signatures
/// Collects all functions used as values that can be called by their signatures
fn find_variants(ssa: &Ssa) -> HashMap<CallSignature, Vec<FunctionId>> {
let mut dynamic_dispatches: HashSet<CallSignature> = HashSet::new();
let mut functions_as_values: HashSet<FunctionId> = HashSet::new();
Expand Down

0 comments on commit e3a87ad

Please sign in to comment.