store closure data for bool/byte again

This commit is contained in:
Folkert 2021-09-18 01:01:38 +02:00
parent 7416cc4e81
commit 77911cb68a
3 changed files with 43 additions and 31 deletions

View file

@ -2113,8 +2113,6 @@ fn update<'a>(
&mut state.procedures,
);
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
@ -2128,6 +2126,8 @@ fn update<'a>(
println!("{}", result);
}
Proc::insert_refcount_operations(arena, &mut state.procedures);
// This is not safe with the new non-recursive RC updates that we do for tag unions
//
// Proc::optimize_refcount_operations(