1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Split too long line

I don't have a display enough for 170 columns, and it is hard to
use small fonts for my eyes. :(
This commit is contained in:
Nobuyoshi Nakada 2021-12-22 13:13:20 +09:00
parent c9396a3520
commit 9902398d86
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -201,7 +201,10 @@ class_alloc(VALUE flags, VALUE klass)
alloc_size += sizeof(rb_classext_t);
#endif
RVARGC_NEWOBJ_OF(obj, struct RClass, klass, (flags & T_MASK) | FL_PROMOTED1 /* start from age == 2 */ | (RGENGC_WB_PROTECTED_CLASS ? FL_WB_PROTECTED : 0), alloc_size);
flags &= T_MASK;
flags |= FL_PROMOTED1 /* start from age == 2 */;
if (RGENGC_WB_PROTECTED_CLASS) flags |= FL_WB_PROTECTED;
RVARGC_NEWOBJ_OF(obj, struct RClass, klass, flags, alloc_size);
#if USE_RVARGC
memset(RCLASS_EXT(obj), 0, sizeof(rb_classext_t));