aboutsummaryrefslogtreecommitdiff
path: root/gcc/profile-count.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2019-05-20 09:53:42 +0200
committerMartin Liska <marxin@gcc.gnu.org>2019-05-20 07:53:42 +0000
commit03105885b1502a971955908255c722df5be0dafd (patch)
tree2e0eebdc31b65c1ebd3a2d0d90f42974fda5f8bc /gcc/profile-count.c
parenta4c3f08dadad805010c2411e79d80d023693a1b0 (diff)
downloadgcc-03105885b1502a971955908255c722df5be0dafd.zip
gcc-03105885b1502a971955908255c722df5be0dafd.tar.gz
gcc-03105885b1502a971955908255c722df5be0dafd.tar.bz2
Add vertical spacing in order to separate functions.
2019-05-20 Martin Liska <mliska@suse.cz> * profile-count.c: Add vertical spacing in order to separate functions. * profile-count.h: Likewise. From-SVN: r271399
Diffstat (limited to 'gcc/profile-count.c')
-rw-r--r--gcc/profile-count.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/profile-count.c b/gcc/profile-count.c
index 010b18c..2b774a7 100644
--- a/gcc/profile-count.c
+++ b/gcc/profile-count.c
@@ -353,6 +353,7 @@ profile_count::adjust_for_ipa_scaling (profile_count *num,
if it is nonzero, not changing anything if IPA is uninitialized
and if IPA is zero, turning THIS into corresponding local profile with
global0. */
+
profile_count
profile_count::combine_with_ipa_count (profile_count ipa)
{
@@ -369,6 +370,7 @@ profile_count::combine_with_ipa_count (profile_count ipa)
/* The profiling runtime uses gcov_type, which is usually 64bit integer.
Conversions back and forth are used to read the coverage and get it
into internal representation. */
+
profile_count
profile_count::from_gcov_type (gcov_type v, profile_quality quality)
{
@@ -383,7 +385,6 @@ profile_count::from_gcov_type (gcov_type v, profile_quality quality)
return ret;
}
-
/* COUNT1 times event happens with *THIS probability, COUNT2 times OTHER
happens with COUNT2 probablity. Return probablity that either *THIS or
OTHER happens. */