diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2020-05-01 00:40:21 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2020-05-01 00:40:21 -0700 |
commit | 5c8bfad078bf37797256f3214b29c578ac763109 (patch) | |
tree | 341bb97f5d3503f8b136507cf8912c0dd016ffdb /mjit_compile.c | |
parent | 6eed4d1b7474b3ac349089a895c7d5e5dcd5381a (diff) |
Make sure unit->id is inherited
to child compile_status
Diffstat (limited to 'mjit_compile.c')
-rw-r--r-- | mjit_compile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mjit_compile.c b/mjit_compile.c index c3b44bdb1f..57ab034494 100644 --- a/mjit_compile.c +++ b/mjit_compile.c @@ -396,6 +396,7 @@ inlinable_iseq_p(const struct rb_iseq_constant_body *body) 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)) \ |