mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
start perceus reference count
This commit is contained in:
parent
c60dcd763d
commit
957f44966c
6 changed files with 211 additions and 26 deletions
|
|
@ -301,7 +301,7 @@ pub struct Proc<'a> {
|
|||
pub closure_data_layout: Option<InLayout<'a>>,
|
||||
pub ret_layout: InLayout<'a>,
|
||||
pub is_self_recursive: SelfRecursive,
|
||||
pub must_own_arguments: bool,
|
||||
// pub must_own_arguments: bool,
|
||||
pub host_exposed_layouts: HostExposedLayouts<'a>,
|
||||
}
|
||||
|
||||
|
|
@ -3138,7 +3138,7 @@ fn generate_runtime_error_function<'a>(
|
|||
closure_data_layout: None,
|
||||
ret_layout,
|
||||
is_self_recursive: SelfRecursive::NotSelfRecursive,
|
||||
must_own_arguments: false,
|
||||
// must_own_arguments: false,
|
||||
host_exposed_layouts: HostExposedLayouts::NotHostExposed,
|
||||
}
|
||||
}
|
||||
|
|
@ -3310,7 +3310,7 @@ fn specialize_proc_help<'a>(
|
|||
closure_data_layout: None,
|
||||
ret_layout: return_layout,
|
||||
is_self_recursive: SelfRecursive::NotSelfRecursive,
|
||||
must_own_arguments: false,
|
||||
// must_own_arguments: false,
|
||||
host_exposed_layouts: HostExposedLayouts::NotHostExposed,
|
||||
};
|
||||
|
||||
|
|
@ -3338,7 +3338,7 @@ fn specialize_proc_help<'a>(
|
|||
closure_data_layout: None,
|
||||
ret_layout: result,
|
||||
is_self_recursive: SelfRecursive::NotSelfRecursive,
|
||||
must_own_arguments: false,
|
||||
// must_own_arguments: false,
|
||||
host_exposed_layouts: HostExposedLayouts::NotHostExposed,
|
||||
};
|
||||
|
||||
|
|
@ -3394,7 +3394,7 @@ fn specialize_proc_help<'a>(
|
|||
closure_data_layout: Some(closure_data_layout),
|
||||
ret_layout,
|
||||
is_self_recursive: recursivity,
|
||||
must_own_arguments: false,
|
||||
// must_own_arguments: false,
|
||||
host_exposed_layouts,
|
||||
}
|
||||
}
|
||||
|
|
@ -3593,7 +3593,7 @@ fn specialize_proc_help<'a>(
|
|||
closure_data_layout,
|
||||
ret_layout,
|
||||
is_self_recursive: recursivity,
|
||||
must_own_arguments: false,
|
||||
// must_own_arguments: false,
|
||||
host_exposed_layouts,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue