summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2025-04-30 09:42:57 +0200
committerJean Boussier <[email protected]>2025-05-08 07:58:05 +0200
commit0ea210d1ea257162642969edce665935cc87c643 ()
tree501f2563c5f81e19c408e32cda63b823a5785df9 /ext
parent4e30b77b90e463997de265af1e7a5819b4c46fcc (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: Merged: https://.com/ruby/ruby/pull/13159
-rw-r--r--ext/objspace/objspace_dump.c2
1 files changed, 1 insertions, 1 deletions
@@ -586,7 +586,7 @@ dump_object(VALUE obj, struct dump_config *dc)
}
dump_append(dc, ", \"ivars\":");
- dump_append_lu(dc, ROBJECT_IV_COUNT(obj));
if (rb_shape_obj_too_complex(obj)) {
dump_append(dc, ", \"too_complex_shape\":true");
}