Move the profile annotation before static promotion so that indirect call
commitfcc0882fae331c218735a4d6bc9928865c1497ba
authordehao <dehao@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Sep 2013 16:29:21 +0000 (20 16:29 +0000)
committerdehao <dehao@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Sep 2013 16:29:21 +0000 (20 16:29 +0000)
treea9e0b6956d7d3cc588422f2c0350636ed37e490b
parentf6dff8d418e402b678e321af097c9473033d2fd8
Move the profile annotation before static promotion so that indirect call
promotion can find the correct call target.

2013-09-20  Dehao Chen  <dehao@google.com>

* gcc/auto-profile.c (auto_profile): Move profile annotation ahead.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google@202785 138bc75d-0d04-0410-961f-82ee72b054a4
gcc-4_8/gcc/auto-profile.c