ruby-changes:60960
From: Takashi <ko1@a...>
Date: Fri, 1 May 2020 16:40:46 +0900 (JST)
Subject: [ruby-changes:60960] 5c8bfad078 (master): Make sure unit->id is inherited
https://git.ruby-lang.org/ruby.git/commit/?id=5c8bfad078 From 5c8bfad078bf37797256f3214b29c578ac763109 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Fri, 1 May 2020 00:40:21 -0700 Subject: Make sure unit->id is inherited to child compile_status diff --git a/mjit_compile.c b/mjit_compile.c index c3b44bd..57ab034 100644 --- a/mjit_compile.c +++ b/mjit_compile.c @@ -396,6 +396,7 @@ inlinable_iseq_p(const struct rb_iseq_constant_body *body) https://github.com/ruby/ruby/blob/trunk/mjit_compile.c#L396 alloca(sizeof(union iseq_inline_storage_entry) * body->is_size) : NULL, \ .cc_entries_index = (body->ci_size > 0) ? \ mjit_capture_cc_entries(status.compiled_iseq, body) : -1, \ + .compiled_id = status.compiled_id, \ .compiled_iseq = status.compiled_iseq, \ .compile_info = compile_root_p ? \ rb_mjit_iseq_compile_info(body) : alloca(sizeof(struct rb_mjit_compile_info)) \ -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/