summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2024-04-18 13:00:55 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2024-04-18 14:11:25 -0700
commit64d0817ea995ddf46aacc8f9da11b234e4e77962 (patch)
treed62c41f37ee6a87afaec9edd32c87c7b7f6c1e3d
parentea7975c59bce30fd6d48a068d089fb62d8f73ec7 (diff)
Remove markable guard before pushing on ccs list
CCS list doesn't mark CI objects, so it doesn't matter whether or not they are markable before pushing.
-rw-r--r--vm_insnhelper.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 108201295b..249bb49ea7 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -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) {