diff options
author | Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> | 2021-03-04 12:05:18 -0500 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:30 -0400 |
commit | abc016ad2c85a15ad6a512be57f47d893bc81e27 (patch) | |
tree | 81e5d7c6d0417204a71cb78cba1da8fdfd528682 /vm_core.h | |
parent | 5c497dfd7f86c88c9730dda397fecb3aa943e84d (diff) |
WIP refactor block lists to use darray
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 4 |
1 files changed, 3 insertions, 1 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 */ |