mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
re-enable RBTree.balance test
This commit is contained in:
parent
9ac1491647
commit
8f49b1afaa
2 changed files with 3 additions and 2 deletions
|
@ -1203,7 +1203,9 @@ pub fn refcount_offset<'a, 'ctx, 'env>(env: &Env<'a, 'ctx, 'env>, layout: &Layou
|
|||
match layout {
|
||||
Layout::Builtin(Builtin::List(_, _)) => env.ptr_bytes as u64,
|
||||
Layout::Builtin(Builtin::Str) => env.ptr_bytes as u64,
|
||||
Layout::RecursivePointer | Layout::RecursiveUnion(_) => env.ptr_bytes as u64,
|
||||
Layout::RecursivePointer | Layout::Union(_) | Layout::RecursiveUnion(_) => {
|
||||
env.ptr_bytes as u64
|
||||
}
|
||||
_ => (env.ptr_bytes as u64).max(value_bytes),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue