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/profile.c | |
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/profile.c')
-rw-r--r-- | gcc/profile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/profile.c b/gcc/profile.c index 3282ee7..4e82eab 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -1195,7 +1195,7 @@ branch_prob (void) the checksum in only once place, since it depends on the shape of the control flow which can change during various transformations. */ - cfg_checksum = coverage_compute_cfg_checksum (); + cfg_checksum = coverage_compute_cfg_checksum (cfun); lineno_checksum = coverage_compute_lineno_checksum (); /* Write the data from which gcov can reconstruct the basic block |