auto-profile.c (afdo_calculate_branch_prob): Break once has_sample is true.
authorAditya Kumar <hiraditya@msn.com>
Wed, 27 May 2015 15:06:25 +0000 (15:06 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 27 May 2015 15:06:25 +0000 (09:06 -0600)
commit650a202b472b02639e1ddaf424d69dd1ffaacd02
treef63d4c6fc8d19c9d8ff53286bf786bef846c7c20
parentec09a694b3c39551c2e808d6695d2d0bd29cf3c7
auto-profile.c (afdo_calculate_branch_prob): Break once has_sample is true.

* auto-profile.c (afdo_calculate_branch_prob): Break once has_sample is
true.

From-SVN: r223762
gcc/ChangeLog
gcc/auto-profile.c