aboutsummaryrefslogtreecommitdiff
path: root/gcc/profile.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2016-09-26 13:04:18 +0200
committerMartin Liska <marxin@gcc.gnu.org>2016-09-26 11:04:18 +0000
commit3282420874458112fcf9c8664548ffc27613ccb7 (patch)
tree160005ecf3d90729196495129c39b7744b937c54 /gcc/profile.c
parent5cc6c41c2ee95585418a5820d34a4356b91dda18 (diff)
downloadgcc-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/profile.c')
-rw-r--r--gcc/profile.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/profile.c b/gcc/profile.c
index 4519e7d..791225b 100644
--- a/gcc/profile.c
+++ b/gcc/profile.c
@@ -179,10 +179,6 @@ instrument_values (histogram_values values)
gimple_gen_one_value_profiler (hist, t, 0);
break;
- case HIST_TYPE_CONST_DELTA:
- gimple_gen_const_delta_profiler (hist, t, 0);
- break;
-
case HIST_TYPE_INDIR_CALL:
case HIST_TYPE_INDIR_CALL_TOPN:
gimple_gen_ic_profiler (hist, t, 0);