mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
module thunk is function
This commit is contained in:
parent
43c4f24515
commit
3b47fbc89a
3 changed files with 76 additions and 13 deletions
|
@ -2048,8 +2048,6 @@ fn update<'a>(
|
|||
&& state.dependencies.solved_all()
|
||||
&& state.goal_phase == Phase::MakeSpecializations
|
||||
{
|
||||
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
|
||||
|
@ -2062,6 +2060,7 @@ fn update<'a>(
|
|||
|
||||
println!("{}", result);
|
||||
}
|
||||
Proc::insert_refcount_operations(arena, &mut state.procedures);
|
||||
|
||||
Proc::optimize_refcount_operations(
|
||||
arena,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue