From a1b5d20068a9b1859b383b249e510cd33d196e4a Mon Sep 17 00:00:00 2001 From: k0kubun Date: Sun, 14 Apr 2019 05:48:40 +0000 Subject: Try to set false explicitly git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- mjit.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mjit.c') diff --git a/mjit.c b/mjit.c index 4fa9c82468..ebe7f9e767 100644 --- a/mjit.c +++ b/mjit.c @@ -307,8 +307,12 @@ mjit_add_iseq_to_process(const rb_iseq_t *iseq, const struct rb_mjit_compile_inf iseq->body->jit_func = (mjit_func_t)NOT_READY_JIT_ISEQ_FUNC; create_unit(iseq); - if (compile_info != NULL) + if (compile_info != NULL) { iseq->body->jit_unit->compile_info = *compile_info; + } else { + iseq->body->jit_unit->compile_info.disable_ivar_cache = false; + iseq->body->jit_unit->compile_info.disable_send_cache = false; + } if (iseq->body->jit_unit == NULL) // Failure in creating the unit. return; -- cgit v1.2.3