Revert "Bump max by-value size"

This reverts commit e53937bba6.
This commit is contained in:
Ayaz Hafiz 2023-06-16 15:26:09 -05:00
parent 314cc7855a
commit f7b5400c6e
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -68,8 +68,8 @@ impl TargetInfo {
} }
pub const fn max_by_value_size(&self) -> usize { pub const fn max_by_value_size(&self) -> usize {
// Pass values larger than 8 machine words by reference. // Pass values larger than 4 machine words by reference.
self.ptr_size() * 8 self.ptr_size() * 4
} }
pub const fn ptr_alignment_bytes(&self) -> usize { pub const fn ptr_alignment_bytes(&self) -> usize {