From f744d80106ad236cb517c3a6eae5e591562e2377 Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Sat, 22 Feb 2020 11:23:30 +0900 Subject: check USE_MJIT iseq->body->jit_unit is not available if USE_MJIT==0 . --- iseq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iseq.c b/iseq.c index c6c5c6e127..25f45a767f 100644 --- a/iseq.c +++ b/iseq.c @@ -358,6 +358,7 @@ 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? for (unsigned int i=0; ici_size; i++) { @@ -365,6 +366,7 @@ rb_iseq_mark(const rb_iseq_t *iseq) rb_gc_mark((VALUE)cc); // pindown } } +#endif } if (FL_TEST_RAW(iseq, ISEQ_NOT_LOADED_YET)) { -- cgit v1.2.1