revert some debug things

This commit is contained in:
Folkert 2020-11-10 14:12:01 +01:00
parent 3f658c4b98
commit be5c748b7f
3 changed files with 112 additions and 8 deletions

View file

@ -1690,6 +1690,9 @@ fn update<'a>(
if state.dependencies.solved_all() && state.goal_phase == Phase::MakeSpecializations {
debug_assert!(work.is_empty());
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
@ -1703,8 +1706,6 @@ fn update<'a>(
println!("{}", result);
}
Proc::insert_refcount_operations(arena, &mut state.procedures);
msg_tx
.send(Msg::FinishedAllSpecialization {
subs,