]> granicus.if.org Git - gc/commit
Eliminate redundant *flh check for null in GC_allocobj
authorIvan Maidanski <ivmai@mail.ru>
Sun, 15 Dec 2013 17:03:17 +0000 (21:03 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Sun, 15 Dec 2013 17:03:48 +0000 (21:03 +0400)
commit128769a801d17e82b0d10f946eb8cab2870468be
tree6baf959b9f887f2da68555bb452710589742fc00
parent66c7cbd50d468063e87269c99ebc4fa69911afa1
Eliminate redundant *flh check for null in GC_allocobj
(code refactoring)

* alloc.c (GC_allocobj): Do not check *flh twice if the value
is non-NULL (GC_new_hblk is not called thus *flh stays non-NULL in
that case).
alloc.c