diff options
author | Martin Liska <mliska@suse.cz> | 2014-06-04 11:31:25 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2014-06-04 09:31:25 +0000 |
commit | a96bf0d3ceb411299cc5dedfc7705de9ac21988a (patch) | |
tree | ba3780120bafe130806deba7072ed5222d5dc54b /gcc/coverage.h | |
parent | 7d2268ead3f156afba5c23c563b9690f9f59012e (diff) | |
download | gcc-a96bf0d3ceb411299cc5dedfc7705de9ac21988a.zip gcc-a96bf0d3ceb411299cc5dedfc7705de9ac21988a.tar.gz gcc-a96bf0d3ceb411299cc5dedfc7705de9ac21988a.tar.bz2 |
Make coverage_compute_cfg_checksum callable with arg.
* coverage.h (coverage_compute_cfg_checksum): Argument added.
* coverage.c (coverage_compute_cfg_checksum): Likewise.
* profile.c (branch_prob): Likewise.
From-SVN: r211217
Diffstat (limited to 'gcc/coverage.h')
-rw-r--r-- | gcc/coverage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/coverage.h b/gcc/coverage.h index 81f87a6f..a144e0b 100644 --- a/gcc/coverage.h +++ b/gcc/coverage.h @@ -32,8 +32,8 @@ extern int coverage_begin_function (unsigned, unsigned); /* Complete the coverage information for the current function. */ extern void coverage_end_function (unsigned, unsigned); -/* Compute the control flow checksum for the current function. */ -extern unsigned coverage_compute_cfg_checksum (void); +/* Compute the control flow checksum for the function FN given as argument. */ +extern unsigned coverage_compute_cfg_checksum (struct function *fn); /* Compute the profile id of function N. */ extern unsigned coverage_compute_profile_id (struct cgraph_node *n); |