profile-count.h (slow_safe_scale_64bit): New function.
authorJan Hubicka <hubicka@ucw.cz>
Wed, 11 Oct 2017 17:37:18 +0000 (19:37 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 11 Oct 2017 17:37:18 +0000 (17:37 +0000)
commit9588ea78db1d58ab5eb4fccc93e8ef535ce48c66
treee4dda70458567bbf0385750dbbf8f7196369a8d0
parent278a84349ae1e964dea6bd3bc456e11eb712c9b4
profile-count.h (slow_safe_scale_64bit): New function.

* profile-count.h (slow_safe_scale_64bit): New function.
(safe_scale_64bit): New inline.
(profile_count::max_safe_multiplier): Remove; use safe_scale_64bit.
* profile-count.c: Include wide-int.h
(slow_safe_scale_64bit): New.

From-SVN: r253652
gcc/ChangeLog
gcc/profile-count.c
gcc/profile-count.h