cleanup benchmarks platform

This commit is contained in:
Folkert 2021-01-21 20:23:47 +01:00
parent 2e52ed68a4
commit 4e6aac760a
3 changed files with 11 additions and 107 deletions

View file

@ -1803,6 +1803,8 @@ fn update<'a>(
if state.dependencies.solved_all() && state.goal_phase == Phase::MakeSpecializations {
debug_assert!(work.is_empty(), "still work remaining {:?}", &work);
Proc::insert_refcount_operations(arena, &mut state.procedures);
// display the mono IR of the module, for debug purposes
if roc_mono::ir::PRETTY_PRINT_IR_SYMBOLS {
let procs_string = state
@ -1816,8 +1818,6 @@ fn update<'a>(
println!("{}", result);
}
Proc::insert_refcount_operations(arena, &mut state.procedures);
msg_tx
.send(Msg::FinishedAllSpecialization {
subs,