fix pass_group to use recursively optimize loop if loop is the first statement

This commit is contained in:
nora 2022-04-15 21:04:17 +02:00
parent 53ad68e3f2
commit c130627b63
2 changed files with 13 additions and 2 deletions

View file

@ -40,6 +40,9 @@ where
let code = codegen::generate(&cg_alloc, &optimized_ir);
println!("{:#?}", optimized_ir);
return Ok(());
drop(optimized_ir);
drop(ir_alloc);