Skip to content

Commit

Permalink
fix debugging output
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Jun 8, 2020
1 parent 0ba2725 commit 42a2fa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gc.c
Expand Up @@ -8406,7 +8406,7 @@ gc_update_object_references(rb_objspace_t *objspace, VALUE 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)) {
case T_CLASS:
Expand Down Expand Up @@ -8555,7 +8555,7 @@ gc_update_object_references(rb_objspace_t *objspace, VALUE obj)

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
Expand Down

0 comments on commit 42a2fa3

Please sign in to comment.