Check if benchmarks are weird

This commit is contained in:
Ayaz Hafiz 2023-06-16 13:56:15 -05:00
parent e53937bba6
commit 24e7a56f4b
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
2 changed files with 4 additions and 3 deletions

View file

@ -2619,7 +2619,8 @@ impl<'a> LayoutRepr<'a> {
LayoutRepr::Union(UnionLayout::NonRecursive(_)) => true,
LayoutRepr::Struct(_) => {
// TODO: write tests for this!
self.stack_size(interner, target_info) as usize > target_info.max_by_value_size()
// self.stack_size(interner, target_info) as usize > target_info.max_by_value_size()
false
}
LayoutRepr::LambdaSet(lambda_set) => interner