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