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

fix debugging output

This commit is contained in:
Aaron Patterson 2020-06-08 15:08:15 -07:00
parent 0ba27259d3
commit 42a2fa3b17
No known key found for this signature in database
GPG key ID: 953170BCB4FFAFC6

4
gc.c
View file

@ -8406,7 +8406,7 @@ gc_update_object_references(rb_objspace_t *objspace, VALUE obj)
{ {
RVALUE *any = RANY(obj); RVALUE *any = RANY(obj);
gc_report(4, objspace, "update-refs: %p ->", (void *)obj); gc_report(4, objspace, "update-refs: %p ->\n", (void *)obj);
switch (BUILTIN_TYPE(obj)) { switch (BUILTIN_TYPE(obj)) {
case T_CLASS: case T_CLASS:
@ -8555,7 +8555,7 @@ gc_update_object_references(rb_objspace_t *objspace, VALUE obj)
UPDATE_IF_MOVED(objspace, RBASIC(obj)->klass); UPDATE_IF_MOVED(objspace, RBASIC(obj)->klass);
gc_report(4, objspace, "update-refs: %p <-", (void *)obj); gc_report(4, objspace, "update-refs: %p <-\n", (void *)obj);
} }
static int static int