value-prof.c (interesting_stringop_to_profile_p): Removed FNDECL argument and get...
authorFelix Yang <felix.yang@huawei.com>
Fri, 21 Aug 2015 14:34:52 +0000 (14:34 +0000)
committerFei Yang <fyang@gcc.gnu.org>
Fri, 21 Aug 2015 14:34:52 +0000 (14:34 +0000)
commit3b14abc8475fe0083c6becea85e3538cc391361c
tree11b1f0ca9c33577ba7a05ff5ff8c97cbd87117de
parenta560e5d418a796c99d1c3d47209044a9cf5745c6
value-prof.c (interesting_stringop_to_profile_p): Removed FNDECL argument and get builtin function code directly from CALL.

* value-prof.c (interesting_stringop_to_profile_p): Removed FNDECL argument
and get builtin function code directly from CALL.
(gimple_stringop_fixed_value): Modified accordingly.
(gimple_stringops_transform, gimple_stringops_values_to_profile): Modified
accordingly and only accept BUILT_IN_NORMAL string operations.

Co-Authored-By: Jiji Jiang <jiangjiji@huawei.com>
From-SVN: r227060
gcc/ChangeLog
gcc/value-prof.c