mirror of
https://github.com/ruby/ruby.git
synced 2026-10-28 16:36:20 +08:00
rb_imemo_fields_ptr: assume embedded
This commit is contained in:
1 parent
6e842889ce
commit
efb3a73445
2 files changed
+3
-6
Notes:
git
2026-07-15 18:53:25 +00:00
No files matched your search
@@ -2154,7 +2154,9 @@ obj_fields_each(VALUE obj, rb_ivar_foreach_callback_func *func, st_data_t arg, b
|
||||
.ivar_only = ivar_only,
|
||||
};
|
||||
|
||||
VALUE fields_obj = ROBJECT_FIELDS_OBJ(obj);
|
||||
shape_id_t shape_id = RBASIC_SHAPE_ID(obj);
|
||||
|
||||
if (rb_shape_complex_p(shape_id)) {
|
||||
st_foreach_safe(ROBJECT_FIELDS_HASH(obj), each_hash_iv, (st_data_t)&itr_data);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user