Implement a cache policy - don't cache recursive pointers without a recursive layout

This commit is contained in:
Ayaz Hafiz 2022-08-25 17:07:45 -05:00
parent eb5ec2bd98
commit 3856ea6199
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 514 additions and 333 deletions

View file

@ -5990,7 +5990,7 @@ fn register_capturing_closure<'a>(
let captured_symbols = match *env.subs.get_content_without_compacting(function_type) {
Content::Structure(FlatType::Func(_, closure_var, _)) => {
let lambda_set_layout = {
LambdaSet::from_var(
LambdaSet::from_var_pub(
layout_cache,
env.arena,
env.subs,

File diff suppressed because it is too large Load diff