diff options
Diffstat (limited to 'gcc/predict.c')
-rw-r--r-- | gcc/predict.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/predict.c b/gcc/predict.c index dbdfce4efdd..0cf6b9606bc 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -162,7 +162,7 @@ probably_never_executed_bb_p (const_basic_block bb) PREDICTOR. */ bool -rtl_predicted_by_p (basic_block bb, enum br_predictor predictor) +rtl_predicted_by_p (const_basic_block bb, enum br_predictor predictor) { rtx note; if (!INSN_P (BB_END (bb))) @@ -183,7 +183,7 @@ static struct pointer_map_t *bb_predictions; PREDICTOR. */ bool -tree_predicted_by_p (basic_block bb, enum br_predictor predictor) +tree_predicted_by_p (const_basic_block bb, enum br_predictor predictor) { struct edge_prediction *i; void **preds = pointer_map_contains (bb_predictions, bb); |