Fixed all fuzzer targets (some API changes)

This commit is contained in:
Chris Fallin
2021-05-19 18:25:34 -07:00
parent f1c6dfe807
commit f56676fb8d
3 changed files with 18 additions and 15 deletions

View File

@@ -12,5 +12,5 @@ fuzz_target!(|func: Func| {
let _ = env_logger::try_init();
log::debug!("func:\n{:?}", func);
let env = regalloc2::fuzzing::func::machine_env();
let _out = regalloc2::ion::run(&func, &env).expect("regalloc did not succeed");
let _out = regalloc2::ion::run(&func, &env, false).expect("regalloc did not succeed");
});