diff options
| author | Aaron Patterson <tenderlove@ruby-lang.org> | 2026-05-29 16:41:31 -0700 |
|---|---|---|
| committer | Aaron Patterson <tenderlove@ruby-lang.org> | 2026-05-29 16:41:31 -0700 |
| commit | ddb5055d961d970aded287cfebd07b78efee3ca7 (patch) | |
| tree | 0293266d352f9d0809fe17fdb6ab3ff833908e26 /ractor.c | |
| parent | 63d9f090b5d9461cf0b9446e0039d9c56156b826 (diff) | |
This reverts commit 63d9f090b5d9461cf0b9446e0039d9c56156b826.
Diffstat (limited to 'ractor.c')
| -rw-r--r-- | ractor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2015,7 +2015,7 @@ move_enter(VALUE obj, struct obj_traverse_replace_data *data) else { VALUE type = RB_BUILTIN_TYPE(obj); size_t slot_size = rb_gc_obj_slot_size(obj); - VALUE moved = rb_newobj(GET_EC(), 0, type, RBASIC_SHAPE_ID(obj), wb_protected_types[type], slot_size); + VALUE moved = rb_newobj(GET_EC(), 0, type, 0, wb_protected_types[type], slot_size); MEMZERO(((struct RBasic *)moved) + 1, char, slot_size - sizeof(struct RBasic)); data->replacement = (VALUE)moved; return traverse_cont; |
