aboutsummaryrefslogtreecommitdiff
path: root/gcc/profile.c
diff options
context:
space:
mode:
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2016-09-26 11:04:18 +0000
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>2016-09-26 11:04:18 +0000
commit925add3b860b09960735cac1509285412a7712b4 (patch)
tree160005ecf3d90729196495129c39b7744b937c54 /gcc/profile.c
parent9c7de46a703314b316544123d36b0fba614e4409 (diff)
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240492 138bc75d-0d04-0410-961f-82ee72b054a4
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 4519e7d8558..791225b106d 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);