Skip to content

Commit

Permalink
Update compiler/noirc_evaluator/src/ssa/opt/bubble_up_constrains.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Jan 22, 2024
1 parent d33061c commit 5c40387
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ impl Ssa {
let instructions = function.dfg[block].take_instructions();
let mut filtered_instructions = Vec::with_capacity(instructions.len());

// Multiple constrains can bubble up to sit under a single instruction. We want to maintain the ordering of these index,
// Multiple constrains can bubble up to sit under a single instruction. We want to maintain the ordering of these constraints,
// so we need to keep track of how many constraints are attached to a given instruction.
// Some assertions don't operate on instruction results, so we use Option so we also track the None case
let mut inserted_at_instruction: HashMap<Option<InstructionId>, usize> =
Expand Down

0 comments on commit 5c40387

Please sign in to comment.