Skip to content

Commit

Permalink
Update post_order.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Danyylka authored Dec 19, 2024
1 parent aa2ef5e commit 7ad3a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/noirc_evaluator/src/ssa/ir/post_order.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl PostOrder {
// stack, we push the item that's due for a visit first to the top.
for successor_id in func.dfg[block_id].successors().rev() {
if !visited.contains(&successor_id) {
// This not visited check would also be cover by the next
// This not visited check would also be covered by the next
// iteration, but checking here two saves an iteration per successor.
stack.push((Visit::First, successor_id));
}
Expand Down

0 comments on commit 7ad3a03

Please sign in to comment.