* basic-block.h (apply_scale): Make scale parmeter gcov_type.

From-SVN: r202128
This commit is contained in:
Jan Hubicka 2013-08-31 15:32:31 +02:00 committed by Jan Hubicka
parent 41dedebd87
commit b9cbfeeb51
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2013-08-31 Jan Hubicka <jh@suse.cz>
* basic-block.h (apply_scale): Make scale parmeter gcov_type.
2013-08-31 Uros Bizjak <ubizjak@gmail.com>
* config/alpha/alpha.c (alpha_emit_conditional_move): Update

View file

@ -960,7 +960,7 @@ combine_probabilities (int prob1, int prob2)
constrained to be < REG_BR_PROB_BASE. */
static inline gcov_type
apply_scale (gcov_type freq, int scale)
apply_scale (gcov_type freq, gcov_type scale)
{
return RDIV (freq * scale, REG_BR_PROB_BASE);
}