diff options
author | Peter Zhu <[email protected]> | 2023-04-14 16:27:37 -0400 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2023-04-16 11:06:31 -0400 |
commit | 24b137336b71f77bf9ae9c532c0a5520709f73e8 (patch) | |
tree | 7d31e2d9cfa29e638144d666a262b76bb47861c9 /internal/class.h | |
parent | d7bb7e70cc954925d896a4185d9eb28cee2c2b6f (diff) |
Move shape ID to flags for classes on 32 bit
Moves shape ID to FL_USER4 to FL_USER19 for the shape ID on 32 bit
systems. This makes the rb_classext_struct smaller so that it can be
embedded.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7719
Diffstat (limited to 'internal/class.h')
-rw-r--r-- | internal/class.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/class.h b/internal/class.h index 0ac8e7c875..3e5108a3bd 100644 --- a/internal/class.h +++ b/internal/class.h @@ -62,9 +62,6 @@ struct rb_classext_struct { } singleton_class; } as; const VALUE includer; -#if !SHAPE_IN_BASIC_FLAGS - shape_id_t shape_id; -#endif attr_index_t max_iv_count; unsigned char variation_count; bool permanent_classpath : 1; |