diff options
author | Jean Boussier <[email protected]> | 2025-04-30 09:42:57 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-05-08 07:58:05 +0200 |
commit | 0ea210d1ea257162642969edce665935cc87c643 (patch) | |
tree | 501f2563c5f81e19c408e32cda63b823a5785df9 /vm.c | |
parent | 4e30b77b90e463997de265af1e7a5819b4c46fcc (diff) |
Rename `ivptr` -> `fields`, `next_iv_index` -> `next_field_index`
Ivars will longer be the only thing stored inline
via shapes, so keeping the `iv_index` and `ivptr` names
would be confusing.
Instance variables won't be the only thing stored inline
via shapes, so keeping the `ivptr` name would be confusing.
`field` encompass anything that can be stored in a VALUE array.
Similarly, `gen_ivtbl` becomes `gen_fields_tbl`.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13159
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3169,7 +3169,7 @@ ruby_vm_destruct(rb_vm_t *vm) if (objspace) { if (rb_free_at_exit) { rb_objspace_free_objects(objspace); - rb_free_generic_iv_tbl_(); + rb_free_generic_fields_tbl_(); rb_free_default_rand_key(); if (th && vm->fork_gen == 0) { /* If we have forked, main_thread may not be the initial thread */ |