mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 11:52:19 +00:00
Bump max by-value size
This commit is contained in:
parent
ec38d8a16d
commit
e53937bba6
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 4 machine words by reference.
|
||||
self.ptr_size() * 4
|
||||
// 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