Skip to content
4 changes: 1 addition & 3 deletions tooling/ast_fuzzer/fuzz/src/targets/pass_vs_prev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ pub fn fuzz(u: &mut Unstructured) -> eyre::Result<()> {
let ssa_options = options.onto(default_ssa_options());
let ssa_passes = primary_passes(&ssa_options);

// For now limit the passes to the ones in the canary audit.
let max_passes = ssa_passes.len().min(3);

// Choose the number of passes we run on top of the initial SSA.
let max_passes = ssa_passes.len();
let run_passes = u.int_in_range(1..=max_passes)?;

// Generate the initial SSA, which is considered to be step 0.
Expand Down
Loading