]> granicus.if.org Git - gc/commit
Replace GC_COND_LOG_PRINTF calls with WARN for allocation failure messages
authorIvan Maidanski <ivmai@mail.ru>
Tue, 11 Dec 2012 16:17:16 +0000 (20:17 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 11 Dec 2012 16:17:16 +0000 (20:17 +0400)
commit38d07c16736cd5a76bd40dccfc90d2cecdd13aaf
treeb0b21b437b44b8fe9aee42b469623864c933915e
parent1c3d8e3f6a963c32c5365ff52a9ebc6d65c088ce
Replace GC_COND_LOG_PRINTF calls with WARN for allocation failure messages

* alloc.c (GC_expand_hp_inner): Replace GC_COND_LOG_PRINTF call to
WARN() call (with WARN_PRIdPTR argument type format specifier) for the
message about failure.
* headers.c (GC_scratch_alloc): Likewise.
* mark.c (GC_mark_some, alloc_mark_stack): Likewise.
alloc.c
headers.c
mark.c