Skip to content

Commit 603ac42

Browse files
committed
parallel sweep: imemo_callcache handled by weakref cleanup
1 parent 5d496a7 commit 603ac42

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

gc.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2425,10 +2425,6 @@ rb_gc_obj_has_blacklisted_vm_weak_references(VALUE obj)
24252425
switch (BUILTIN_TYPE(obj)) {
24262426
case T_IMEMO:
24272427
switch (imemo_type(obj)) {
2428-
case imemo_callcache: {
2429-
const struct rb_callcache *cc = (const struct rb_callcache *)obj;
2430-
return vm_cc_refinement_p(cc);
2431-
}
24322428
case imemo_callinfo:
24332429
case imemo_ment:
24342430
return true;

0 commit comments

Comments
 (0)