Skip to content

Commit

Permalink
Update crates/noirc_evaluator/src/ssa/acir_gen/acir_ir/acir_variable.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Aug 11, 2023
1 parent f1fa7b5 commit 3576552
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,7 @@ impl AcirContext {
})?;

// Optimistically try executing the brillig now, if we can complete execution they just return the results.
// This is a temporary measure pending SSA optimizations being applied to Brillig which would remove constant-input opcodes (See #2066)
if let Some(brillig_outputs) = self.execute_brillig(code.clone(), &b_inputs, &outputs) {
return Ok(brillig_outputs);
}
Expand Down

0 comments on commit 3576552

Please sign in to comment.