diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-10 19:17:13 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-10 19:17:13 +0000 |
commit | 12dc7a419be2ea3113128e2507dce7609f4dc19f (patch) | |
tree | 8ae542337d47fb9600022dcd2667a0cf55213e7b /libffi | |
parent | cd45d8fd03ced4bdccab393e80aec698bdf67dd0 (diff) | |
download | gcc-12dc7a419be2ea3113128e2507dce7609f4dc19f.tar.gz |
* gcov.c (struct function_info): Make src an index, not a pointer.
(struct source_info): Remove index and next source fields.
(fn_end): New static var.
(sources_index): Remove.
(sources): Now a pointer to an array, not a list.
(n_sources, a_sources): New.
(process_file): Adjust for changes to read_graph_file. Insert
functions into source lists and check line numbers here.
(generate_results): Only allocate lines for sources with
contents. Adjust for source array.
(release_structures): Likewise.
(find_source): Return source index, adjust for source array.
(read_graph_file): Return function list. Don't insert into source
lists here.
(read_count_file): Take list of functions.
(solve_flow_graph): Reverse the arc lists here.
(add_line_counts): Adjust for source array.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181265 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi')
0 files changed, 0 insertions, 0 deletions