diff options
author | Martin Liska <mliska@suse.cz> | 2016-09-26 13:04:18 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2016-09-26 11:04:18 +0000 |
commit | 3282420874458112fcf9c8664548ffc27613ccb7 (patch) | |
tree | 160005ecf3d90729196495129c39b7744b937c54 /gcc/tree-profile.c | |
parent | 5cc6c41c2ee95585418a5820d34a4356b91dda18 (diff) | |
download | gcc-3282420874458112fcf9c8664548ffc27613ccb7.zip gcc-3282420874458112fcf9c8664548ffc27613ccb7.tar.gz gcc-3282420874458112fcf9c8664548ffc27613ccb7.tar.bz2 |
Remove HIST_TYPE_CONST_DELTA counter type (PR gcov-profile/23332)
PR gcov-profile/23332
* profile.c (instrument_values): Do not handle
HIST_TYPE_CONST_DELTA.
* tree-profile.c (gimple_gen_const_delta_profiler):
Remove.
* value-prof.c (dump_histogram_value): Do not handle
HIST_TYPE_CONST_DELTA.
(stream_in_histogram_value): Likewise.
(gimple_find_values_to_profile): Likewise.
* value-prof.h (enum hist_type): Likewise.
From-SVN: r240492
Diffstat (limited to 'gcc/tree-profile.c')
-rw-r--r-- | gcc/tree-profile.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/tree-profile.c b/gcc/tree-profile.c index 69b48e5..1f45b99 100644 --- a/gcc/tree-profile.c +++ b/gcc/tree-profile.c @@ -471,22 +471,6 @@ gimple_gen_time_profiler (unsigned tag, unsigned base, gsi_insert_before (&gsi, call, GSI_NEW_STMT); } -/* Output instructions as GIMPLE trees for code to find the most common value - of a difference between two evaluations of an expression. - VALUE is the expression whose value is profiled. TAG is the tag of the - section for counters, BASE is offset of the counter position. */ - -void -gimple_gen_const_delta_profiler (histogram_value value ATTRIBUTE_UNUSED, - unsigned tag ATTRIBUTE_UNUSED, - unsigned base ATTRIBUTE_UNUSED) -{ - /* FIXME implement this. */ - if (flag_checking) - internal_error ("unimplemented functionality"); - gcc_unreachable (); -} - /* Output instructions as GIMPLE trees to increment the average histogram counter. VALUE is the expression whose value is profiled. TAG is the tag of the section for counters, BASE is offset of the counter position. */ |