Skip to content

Commit

Permalink
Update test with ssa_logging
Browse files Browse the repository at this point in the history
  • Loading branch information
aakoshh committed Dec 5, 2024
1 parent 934d4b9 commit af98cc5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions compiler/noirc_evaluator/src/ssa/opt/hint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ mod tests {
};

fn run_all_passes(ssa: Ssa) -> Result<Ssa, RuntimeError> {
let builder = SsaBuilder { ssa, print_ssa_passes: false, print_codegen_timings: false };
let options = &SsaEvaluatorOptions {
enable_ssa_logging: false,
ssa_logging: SsaLogging::None,
enable_brillig_logging: false,
force_brillig_output: false,
print_codegen_timings: false,
Expand All @@ -22,6 +21,10 @@ mod tests {
inliner_aggressiveness: 0,
max_bytecode_increase_percent: None,
};

let builder =
SsaBuilder { ssa, ssa_logging: options.ssa_logging, print_codegen_timings: false };

optimize_all(builder, options)
}

Expand Down

0 comments on commit af98cc5

Please sign in to comment.