* predict.c (maybe_hot_frequency_p): Do not use cfun.