From 02795d7ad09017978dad0449d0af8d6ba8a24c5f Mon Sep 17 00:00:00 2001 From: Chris Fallin Date: Mon, 27 Feb 2023 23:17:50 -0800 Subject: [PATCH] Fix fuzz build --- fuzz/fuzz_targets/opt_diff.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzz/fuzz_targets/opt_diff.rs b/fuzz/fuzz_targets/opt_diff.rs index d910e17..dc25d7d 100644 --- a/fuzz/fuzz_targets/opt_diff.rs +++ b/fuzz/fuzz_targets/opt_diff.rs @@ -48,7 +48,7 @@ fuzz_target!( } let mut opt_module = parsed_module.clone(); - opt_module.per_func_body(|body| body.optimize()); + opt_module.per_func_body(|body| body.optimize(&mut waffle::Fuel::infinite())); opt_module.per_func_body(|body| body.convert_to_max_ssa()); let mut opt_ctx = InterpContext::new(&opt_module).unwrap();