]> granicus.if.org Git - gc/commit
Remove code duplication in GC_realloc
authorIvan Maidanski <ivmai@mail.ru>
Tue, 1 Mar 2016 21:44:13 +0000 (00:44 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 11 Mar 2016 21:07:35 +0000 (00:07 +0300)
commit952c05db39a3956f0c7cf0d9505726efc115f031
tree96f2eada0d3e6025460fa5b55aa1d385dddb5d22
parent7ef92c41b4b107a6ec71141a1491742f7eae3541
Remove code duplication in GC_realloc

* mallocx.c (GC_realloc): Avoid code duplication for shrink and grow
cases.
mallocx.c