aboutsummaryrefslogtreecommitdiff
path: root/gcc/coverage.h
diff options
context:
space:
mode:
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2014-06-04 09:31:25 +0000
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2014-06-04 09:31:25 +0000
commita06672d436603b0533c5ff28b30bd64c794cc9eb (patch)
treeba3780120bafe130806deba7072ed5222d5dc54b /gcc/coverage.h
parent5cb7c8cf9860d39ab7d499b1a6c0f9c5ec4263bd (diff)
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211217 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/coverage.h')
-rw-r--r--gcc/coverage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/coverage.h b/gcc/coverage.h
index 81f87a6f0bb..a144e0b86a0 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);