diff options
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -359,10 +359,9 @@ rb_iseq_mark(const rb_iseq_t *iseq) } #if USE_MJIT - if (body->jit_unit && body->jit_unit->cc_entries != NULL) { - // TODO: move to mjit.c? + if (body->jit_unit && mjit_iseq_cc_entries(body) != NULL) { for (unsigned int i=0; i<body->ci_size; i++) { - const struct rb_callcache *cc = body->jit_unit->cc_entries[i]; + const struct rb_callcache *cc = mjit_iseq_cc_entries(body)[i]; if (cc != NULL) { rb_gc_mark((VALUE)cc); // pindown } |