diff options
author | Martin Liska <mliska@suse.cz> | 2018-11-05 14:35:56 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2018-11-05 13:35:56 +0000 |
commit | 00e6775a5faa43702e96e315e7a1c22297983f2a (patch) | |
tree | bcf3354f255012a40df5a04906022748690bab09 /gcc/gimple.h | |
parent | 93ef36dc6987e424e775ced165d9011c9b2477a8 (diff) | |
download | gcc-00e6775a5faa43702e96e315e7a1c22297983f2a.zip gcc-00e6775a5faa43702e96e315e7a1c22297983f2a.tar.gz gcc-00e6775a5faa43702e96e315e7a1c22297983f2a.tar.bz2 |
Fix vector memory statistics.
2018-11-05 Martin Liska <mliska@suse.cz>
* mem-stats.h (mem_alloc_description::release_instance_overhead):
Return T *.
* vec.c (struct vec_usage): Register m_element_size.
(vec_prefix::register_overhead): New arguments: elements and
element_size.
(vec_prefix::release_overhead): Subtract elements.
* vec.h (struct vec_prefix): Change signature.
(va_heap::reserve): Pass proper arguments.
(va_heap::release): Likewise.
From-SVN: r265799
Diffstat (limited to 'gcc/gimple.h')
0 files changed, 0 insertions, 0 deletions