ruby-changes:55330
From: k0kubun <ko1@a...>
Date: Sun, 14 Apr 2019 14:48:46 +0900 (JST)
Subject: [ruby-changes:55330] k0kubun:r67537 (trunk): Try to set false explicitly
k0kubun 2019-04-14 14:48:40 +0900 (Sun, 14 Apr 2019) New Revision: 67537 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67537 Log: Try to set false explicitly Modified files: trunk/mjit.c Index: mjit.c =================================================================== --- mjit.c (revision 67536) +++ mjit.c (revision 67537) @@ -307,8 +307,12 @@ mjit_add_iseq_to_process(const rb_iseq_t https://github.com/ruby/ruby/blob/trunk/mjit.c#L307 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; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/