diff options
Diffstat (limited to 'gcc/regs.h')
-rw-r--r-- | gcc/regs.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/regs.h b/gcc/regs.h index 006caca5611..c8c978b24de 100644 --- a/gcc/regs.h +++ b/gcc/regs.h @@ -135,9 +135,7 @@ extern size_t reg_info_p_size; or profile driven feedback is available and the function is never executed, frequency is always equivalent. Otherwise rescale the basic block frequency. */ -#define REG_FREQ_FROM_BB(bb) (optimize_size \ - || (flag_branch_probabilities \ - && !ENTRY_BLOCK_PTR_FOR_FN (cfun)->count) \ +#define REG_FREQ_FROM_BB(bb) (optimize_function_for_size_p (cfun) \ ? REG_FREQ_MAX \ : ((bb)->frequency * REG_FREQ_MAX / BB_FREQ_MAX)\ ? ((bb)->frequency * REG_FREQ_MAX / BB_FREQ_MAX)\ |