* gc.c (rb_gc_writebarrier_unprotect_promoted): disable to dump debug

message when RGENGC_CHECK_MODE == 0.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2014-04-10 05:41:41 +00:00
Родитель 4a0e3ccf28
Коммит ddffb9bb9b
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Thu Apr 10 14:40:18 2014 Koichi Sasada <ko1@atdot.net>
* gc.c (rb_gc_writebarrier_unprotect_promoted): disable to dump debug
message when RGENGC_CHECK_MODE == 0.
Thu Apr 10 08:13:47 2014 Tanaka Akira <akr@fsij.org>
* signal.c (check_stack_overflow): Don't use ucontext_t if ucontext.h

2
gc.c
Просмотреть файл

@ -4807,7 +4807,7 @@ rb_gc_writebarrier_unprotect_promoted(VALUE obj)
if (!RVALUE_WB_PROTECTED(obj)) rb_bug("rb_gc_writebarrier_unprotect_promoted: called on shady object");
}
rgengc_report(0, objspace, "rb_gc_writebarrier_unprotect_promoted: %p (%s)%s\n", (void *)obj, obj_type_name(obj),
rgengc_report(1, objspace, "rb_gc_writebarrier_unprotect_promoted: %p (%s)%s\n", (void *)obj, obj_type_name(obj),
rgengc_remembered(objspace, obj) ? " (already remembered)" : "");
if (RVALUE_OLD_P(obj)) {