mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
parent
24e7a56f4b
commit
314cc7855a
2 changed files with 3 additions and 4 deletions
|
@ -68,8 +68,8 @@ impl TargetInfo {
|
|||
}
|
||||
|
||||
pub const fn max_by_value_size(&self) -> usize {
|
||||
// Pass values larger than 1M machine words by reference.
|
||||
self.ptr_size() * 1_000_000
|
||||
// Pass values larger than 8 machine words by reference.
|
||||
self.ptr_size() * 8
|
||||
}
|
||||
|
||||
pub const fn ptr_alignment_bytes(&self) -> usize {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue