mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
improve call_by_name with raw layout
This commit is contained in:
parent
4a8ec50c0e
commit
53ce8b2d25
3 changed files with 95 additions and 108 deletions
|
@ -2060,8 +2060,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
|
||||
|
@ -2075,6 +2073,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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue