Skip to content

Commit

Permalink
Less lines
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite committed Dec 5, 2024
1 parent 6590837 commit 431bacd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compiler/noirc_evaluator/src/ssa/ir/printer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ pub(crate) fn display_function(function: &Function, f: &mut Formatter) -> Result
write!(f, "}}")
}

/// Displays all of a function's blocks by printing the entry block
/// and its successors, recursively.
/// Displays all of a function's blocks by printing the entry block and its successors, recursively.
pub(crate) fn display_function_blocks(function: &Function, f: &mut Formatter) -> Result {
// The block chain to print might be really long so we use a deque instead of recursion
// to avoid potentially hitting stack overflow (see https://github.com/noir-lang/noir/issues/6520)
Expand Down

0 comments on commit 431bacd

Please sign in to comment.