Skip to content

Commit 7d5c024

Browse files
committed
Dump fstr and frozen status in rb_raw_obj_info_buitin_type
1 parent 6eadc01 commit 7d5c024

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gc.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4844,6 +4844,10 @@ rb_raw_obj_info_buitin_type(char *const buff, const size_t buff_size, const VALU
48444844
}
48454845
break;
48464846
case T_STRING: {
4847+
APPEND_F("[%s%s] ",
4848+
C(FL_TEST(obj, RSTRING_FSTR), "F"),
4849+
C(RB_OBJ_FROZEN(obj), "R"));
4850+
48474851
if (STR_SHARED_P(obj)) {
48484852
APPEND_F(" [shared] len: %ld", RSTRING_LEN(obj));
48494853
}

0 commit comments

Comments
 (0)