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:
parent
0ba27259d3
commit
42a2fa3b17
1 changed files with 2 additions and 2 deletions
4
gc.c
4
gc.c
|
@ -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:
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue