Commit ca30789c by Martin Liska Committed by Martin Liska

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
parent 022850c0
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, ...@@ -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; ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment