diff options
author | Jan Hubicka <jh@suse.cz> | 2013-08-31 15:32:31 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-08-31 13:32:31 +0000 |
commit | b9cbfeeb51d8e4ba5973611654cbca02d240a7b7 (patch) | |
tree | 84cd423c246f56b8711a1b41a86b82e088cf797c /gcc | |
parent | 41dedebd87a8257b27ffe45fde50c92d2e0cf6ce (diff) | |
download | gcc-b9cbfeeb51d8e4ba5973611654cbca02d240a7b7.zip gcc-b9cbfeeb51d8e4ba5973611654cbca02d240a7b7.tar.gz gcc-b9cbfeeb51d8e4ba5973611654cbca02d240a7b7.tar.bz2 |
* basic-block.h (apply_scale): Make scale parmeter gcov_type.
From-SVN: r202128
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/basic-block.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 73cf779..2168c4b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/basic-block.h b/gcc/basic-block.h index d7b896a..4317455 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -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); } |