diff options
author | Jean Boussier <[email protected]> | 2025-05-27 13:16:50 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-05-27 15:34:02 +0200 |
commit | a80a5000ab9ac08b9b74cfee559bba5c349b1808 (patch) | |
tree | 793b133e7272d2ba55a2e6254aec239cc1ed3ae2 /gc.c | |
parent | 97f44ac54e197bca43b54dd65e116cb9ea22cda0 (diff) |
Refactor `rb_obj_shape` out.
It still exists but only in `shape.c`.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13450
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1894,7 +1894,7 @@ object_id0(VALUE obj) { VALUE id = Qfalse; - if (rb_shape_has_object_id(rb_obj_shape(obj))) { + if (rb_shape_id_has_object_id(RBASIC_SHAPE_ID(obj))) { shape_id_t object_id_shape_id = rb_shape_transition_object_id(obj); id = rb_obj_field_get(obj, object_id_shape_id); RUBY_ASSERT(id, "object_id missing"); |