diff options
author | Martin Liska <mliska@suse.cz> | 2017-04-28 14:50:29 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2017-04-28 12:50:29 +0000 |
commit | 0790260e7ce01b4fb1f2f51da17d6769b289a003 (patch) | |
tree | 00193b02d7b165adbaac47b7c22ff530c043bbbd /gcc/gcov-dump.c | |
parent | 4ebcdc237376106b055412dfa71cbb0ca8c877e9 (diff) | |
download | gcc-0790260e7ce01b4fb1f2f51da17d6769b289a003.zip gcc-0790260e7ce01b4fb1f2f51da17d6769b289a003.tar.gz gcc-0790260e7ce01b4fb1f2f51da17d6769b289a003.tar.bz2 |
Simplify representation of locations of a block.
2017-04-28 Martin Liska <mliska@suse.cz>
* gcov.c (struct block_location_info): New struct.
(process_file): Fill up the new structure.
(read_graph_file): Replace usage of encoding by the newly added
struct.
(add_line_counts): Likewise.
(accumulate_line_counts): Remove usage of the union.
(function_info::function_info): New function.
(function_info::~function_info): Likewise.
(process_file): Call delete instead of release_function.
(release_function): Release the function.
(release_structures): Call delete instead of release_function.
(solve_flow_graph): Replace usage of num_blocks.
(find_exception_blocks): Likewise.
(output_lines): Fix GNU coding style.
From-SVN: r247372
Diffstat (limited to 'gcc/gcov-dump.c')
0 files changed, 0 insertions, 0 deletions