Commit b9cbfeeb by Jan Hubicka Committed by Jan Hubicka

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

From-SVN: r202128
parent 41dedebd
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> 2013-08-31 Uros Bizjak <ubizjak@gmail.com>
* config/alpha/alpha.c (alpha_emit_conditional_move): Update * config/alpha/alpha.c (alpha_emit_conditional_move): Update
......
...@@ -960,7 +960,7 @@ combine_probabilities (int prob1, int prob2) ...@@ -960,7 +960,7 @@ combine_probabilities (int prob1, int prob2)
constrained to be < REG_BR_PROB_BASE. */ constrained to be < REG_BR_PROB_BASE. */
static inline gcov_type 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); return RDIV (freq * scale, REG_BR_PROB_BASE);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment