Skip to content

Commit

Permalink
chore: update stale comment on create_circuit (#2173)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Aug 4, 2023
1 parent a6549a2 commit 186375b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions crates/noirc_evaluator/src/ssa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,9 @@ pub(crate) fn optimize_into_acir(
ssa.into_acir(brillig, abi_distinctness)
}

/// Compiles the Program into ACIR and applies optimizations to the arithmetic gates
/// This is analogous to `ssa:create_circuit` and this method is called when one wants
/// to use the new ssa module to process Noir code.
// TODO: This no longer needs to return a result, but it is kept to match the signature of `create_circuit`
/// Compiles the [`Program`] into [`ACIR`][acvm::acir::circuit::Circuit].
///
/// The output ACIR is is backend-agnostic and so must go through a transformation pass before usage in proof generation.
pub fn create_circuit(
program: Program,
enable_ssa_logging: bool,
Expand Down

0 comments on commit 186375b

Please sign in to comment.