aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-prof.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/value-prof.h')
-rw-r--r--gcc/value-prof.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/value-prof.h b/gcc/value-prof.h
index ca846d0..1078722 100644
--- a/gcc/value-prof.h
+++ b/gcc/value-prof.h
@@ -89,11 +89,10 @@ void free_histograms (function *);
void stringop_block_profile (gimple *, unsigned int *, HOST_WIDE_INT *);
gcall *gimple_ic (gcall *, struct cgraph_node *, profile_probability);
bool check_ic_target (gcall *, struct cgraph_node *);
-bool get_most_common_single_value (gimple *stmt, const char *counter_type,
- histogram_value hist,
- gcov_type *value, gcov_type *count,
- gcov_type *all);
-
+bool get_nth_most_common_value (gimple *stmt, const char *counter_type,
+ histogram_value hist, gcov_type *value,
+ gcov_type *count, gcov_type *all,
+ unsigned n = 0);
/* In tree-profile.c. */
extern void gimple_init_gcov_profiler (void);