alloc: include any-object allocations in alloc_report
commitc335d74d349d201cb7627aa7233638d2953a4b02
authorJeff King <peff@peff.net>
Tue, 10 Jun 2014 21:38:47 +0000 (10 17:38 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Jun 2014 17:29:42 +0000 (12 10:29 -0700)
tree68a140155f28938cc3472c4f91408bf13b8950b3
parente6dfcd6767a58816dacec0df39515803b267fbe6
alloc: include any-object allocations in alloc_report

When 2c1cbec (Use proper object allocators for unknown
object nodes too, 2007-04-16), added a special "any_object"
allocator, it never taught alloc_report to report on it. To
do so we need to add an extra type argument to the REPORT
macro, as that commit did for DEFINE_ALLOCATOR.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
alloc.c