Skip to content

Commit

Permalink
Remove markable guard before pushing on ccs list
Browse files Browse the repository at this point in the history
CCS list doesn't mark CI objects, so it doesn't matter whether or not
they are markable before pushing.
  • Loading branch information
tenderlove committed Apr 18, 2024
1 parent ea7975c commit 64d0817
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions vm_insnhelper.c
Expand Up @@ -2006,9 +2006,6 @@ vm_ccs_push(VALUE klass, struct rb_class_cc_entries *ccs, const struct rb_callin
if (! vm_cc_markable(cc)) {
return;
}
else if (! vm_ci_markable(ci)) {
return;
}

if (UNLIKELY(ccs->len == ccs->capa)) {
if (ccs->capa == 0) {
Expand Down

0 comments on commit 64d0817

Please sign in to comment.