diff options
author | Peter Zhu <[email protected]> | 2025-06-02 16:31:28 -0400 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2025-06-03 12:04:24 -0400 |
commit | ea8b53a53954c2f34b1093ae2547951ae0e1fe8c () | |
tree | 93bdeae1cb7622eeed5fd59c9fb2e850db99fc0a /shape.h | |
parent | 5f247416b6b46b6f99c9f5229fab36ba721fd975 (diff) |
Allow pass special constants to the write barrier
Some GC implementations want to always know when an object is written to, even if the written value is a special constant. Checking special constants in rb_obj_written was a micro-optimization that made assumptions about the GC implementation.
Notes: Merged: https://.com/ruby/ruby/pull/13497
0 files changed, 0 insertions, 0 deletions