mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
WIP refactor block lists to use darray
This commit is contained in:
parent
5c497dfd7f
commit
abc016ad2c
5 changed files with 78 additions and 66 deletions
|
@ -312,7 +312,9 @@ pathobj_realpath(VALUE pathobj)
|
|||
/* Forward declarations */
|
||||
struct rb_mjit_unit;
|
||||
|
||||
// List of YJIT block versions
|
||||
typedef rb_darray(struct ujit_block_version *) rb_ujit_block_array_t;
|
||||
typedef rb_darray(rb_ujit_block_array_t) rb_ujit_block_array_array_t;
|
||||
|
||||
struct rb_iseq_constant_body {
|
||||
enum iseq_type {
|
||||
|
@ -453,7 +455,7 @@ struct rb_iseq_constant_body {
|
|||
struct rb_mjit_unit *jit_unit;
|
||||
#endif
|
||||
|
||||
rb_ujit_block_array_t ujit_blocks; // empty, or has a size equal to iseq_size
|
||||
rb_ujit_block_array_array_t ujit_blocks; // empty, or has a size equal to iseq_size
|
||||
};
|
||||
|
||||
/* T_IMEMO/iseq */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue