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:
Martin Liska 2015-06-16 15:24:54 +02:00 committed by Martin Liska
parent 022850c0ee
commit ca30789c8a
3 changed files with 10 additions and 1 deletions

View File

@ -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>
* tree-vect-stmts.c (vectorizable_store): Adjust.

View File

@ -2074,7 +2074,7 @@ bitmap_print (FILE *file, const_bitmap head, const char *prefix,
void
dump_bitmap_statistics (void)
{
if (! GATHER_STATISTICS)
if (!GATHER_STATISTICS)
return;
bitmap_mem_desc.dump (BITMAP_ORIGIN);

View File

@ -103,6 +103,9 @@ mem_alloc_description<mem_usage> hash_table_usage;
/* Support function for statistics. */
void dump_hash_table_loc_statistics (void)
{
if (!GATHER_STATISTICS)
return;
for (unsigned i = HASH_TABLE_ORIGIN; i <= HASH_SET_ORIGIN; i++)
{
mem_alloc_origin origin = (mem_alloc_origin) i;