summaryrefslogtreecommitdiff
path: root/gcc/basic-block.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2013-08-31 13:32:31 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2013-08-31 13:32:31 +0000
commitacdafb9d46c2a9e2970a2bb6c53e5bf029462f19 (patch)
tree84cd423c246f56b8711a1b41a86b82e088cf797c /gcc/basic-block.h
parent5da2e28f5fcb4593248dd04c5d43cbaa14ae952d (diff)
downloadgcc-acdafb9d46c2a9e2970a2bb6c53e5bf029462f19.tar.gz
* basic-block.h (apply_scale): Make scale parmeter gcov_type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202128 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r--gcc/basic-block.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h
index d7b896ae8a1..43174553133 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);
}