diff options
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 2cbacc7..213587e 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -2729,10 +2729,7 @@ cgraph_edge::cannot_lead_to_return_p (void) bool cgraph_edge::maybe_hot_p (void) { - /* TODO: Export profile_status from cfun->cfg to cgraph_node. */ - if (profile_info - && opt_for_fn (caller->decl, flag_branch_probabilities) - && !maybe_hot_count_p (NULL, count)) + if (!maybe_hot_count_p (NULL, count)) return false; if (caller->frequency == NODE_FREQUENCY_UNLIKELY_EXECUTED || (callee |