mem-stats.h (mem_alloc_description::unregister_descriptor): New method.
authorJason Merrill <jason@redhat.com>
Tue, 26 Mar 2019 13:38:53 +0000 (09:38 -0400)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 26 Mar 2019 13:38:53 +0000 (14:38 +0100)
commita6f361669312430748d51e6435da8f0d5c4b34c4
treeda534f921edf26922a5dfe3db8bc95262bf3145e
parent11767f80f0be06988b3b317ae0205ae9f79c190c
mem-stats.h (mem_alloc_description::unregister_descriptor): New method.

* mem-stats.h (mem_alloc_description::unregister_descriptor): New
method.
(mem_alloc_description::release_object_overhead): Fix comment typos.
* hash-table.h (hash_table::~hash_table): Call
release_instance_overhead only if m_entries is non-NULL, otherwise
call unregister_descriptor.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r269943
gcc/ChangeLog
gcc/hash-table.h
gcc/mem-stats.h