Skip to content

Commit

Permalink
Split too long line
Browse files Browse the repository at this point in the history
I don't have a display enough for 170 columns, and it is hard to
use small fonts for my eyes. :(
  • Loading branch information
nobu committed Dec 22, 2021
1 parent c9396a3 commit 9902398
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion class.c
Expand Up @@ -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));
Expand Down

0 comments on commit 9902398

Please sign in to comment.