Fallout for new memory statistics infrastructure.
* bitmap.c (dump_bitmap_statistics): Fix GNU coding style. * hash-table.c (void dump_hash_table_loc_statistics): Add missing guard. From-SVN: r224518
This commit is contained in:
parent
022850c0ee
commit
ca30789c8a
@ -1,3 +1,9 @@
|
|||||||
|
2015-06-16 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
|
* bitmap.c (dump_bitmap_statistics): Fix GNU coding style.
|
||||||
|
* hash-table.c (void dump_hash_table_loc_statistics): Add missing
|
||||||
|
guard.
|
||||||
|
|
||||||
2015-06-16 Richard Biener <rguenther@suse.de>
|
2015-06-16 Richard Biener <rguenther@suse.de>
|
||||||
|
|
||||||
* tree-vect-stmts.c (vectorizable_store): Adjust.
|
* tree-vect-stmts.c (vectorizable_store): Adjust.
|
||||||
|
@ -2074,7 +2074,7 @@ bitmap_print (FILE *file, const_bitmap head, const char *prefix,
|
|||||||
void
|
void
|
||||||
dump_bitmap_statistics (void)
|
dump_bitmap_statistics (void)
|
||||||
{
|
{
|
||||||
if (! GATHER_STATISTICS)
|
if (!GATHER_STATISTICS)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
bitmap_mem_desc.dump (BITMAP_ORIGIN);
|
bitmap_mem_desc.dump (BITMAP_ORIGIN);
|
||||||
|
@ -103,6 +103,9 @@ mem_alloc_description<mem_usage> hash_table_usage;
|
|||||||
/* Support function for statistics. */
|
/* Support function for statistics. */
|
||||||
void dump_hash_table_loc_statistics (void)
|
void dump_hash_table_loc_statistics (void)
|
||||||
{
|
{
|
||||||
|
if (!GATHER_STATISTICS)
|
||||||
|
return;
|
||||||
|
|
||||||
for (unsigned i = HASH_TABLE_ORIGIN; i <= HASH_SET_ORIGIN; i++)
|
for (unsigned i = HASH_TABLE_ORIGIN; i <= HASH_SET_ORIGIN; i++)
|
||||||
{
|
{
|
||||||
mem_alloc_origin origin = (mem_alloc_origin) i;
|
mem_alloc_origin origin = (mem_alloc_origin) i;
|
||||||
|
Loading…
Reference in New Issue
Block a user