diff options
author | John Hawthorn <[email protected]> | 2025-05-14 11:06:46 -0700 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2025-05-26 10:31:54 +0200 |
commit | f483befd9065d159d3a944b87fe26179c5373c30 () | |
tree | f1a5c935f88b726b1bd79c71dd53417c08118651 /internal/object.h | |
parent | 2295384a5a89cd4acfbec27b19a671bd5301a757 (diff) |
Add shape_id to RBasic under 32 bit
This makes `RBobject` `4B` larger on 32 bit systems but simplifies the implementation a lot. [Feature #21353] Co-authored-by: Jean Boussier <[email protected]>
Notes: Merged: https://.com/ruby/ruby/pull/13341
-rw-r--r-- | internal/object.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -60,4 +60,13 @@ RBASIC_SET_CLASS(VALUE obj, VALUE klass) RBASIC_SET_CLASS_RAW(obj, klass); RB_OBJ_WRITTEN(obj, oldv, klass); } #endif /* INTERNAL_OBJECT_H */ |