1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Remove unused field in rb_iseq_constant_body

This was introduced in 191ce5344e
and has been unused since beae6cbf0f
This commit is contained in:
Alan Wu 2020-07-22 20:46:24 -04:00
parent caf565f7bf
commit 1d8b689b9e
Notes: git 2020-07-23 14:18:23 +09:00
2 changed files with 0 additions and 5 deletions

3
iseq.c
View file

@ -451,14 +451,11 @@ rb_iseq_memsize(const rb_iseq_t *iseq)
return size;
}
static uintptr_t fresh_iseq_unique_id = 0; /* -- Remove In 3.0 -- */
struct rb_iseq_constant_body *
rb_iseq_constant_body_alloc(void)
{
struct rb_iseq_constant_body *iseq_body;
iseq_body = ZALLOC(struct rb_iseq_constant_body);
iseq_body->iseq_unique_id = fresh_iseq_unique_id++; /* -- Remove In 3.0 -- */
return iseq_body;
}

View file

@ -427,8 +427,6 @@ struct rb_iseq_constant_body {
long unsigned total_calls; /* number of total calls with `mjit_exec()` */
struct rb_mjit_unit *jit_unit;
#endif
uintptr_t iseq_unique_id; /* -- Remove In 3.0 -- */
};
/* T_IMEMO/iseq */