2014-05-20 Dehao Chen <dehao@google.com>
authordehao <dehao@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 May 2014 22:25:06 +0000 (22:25 +0000)
committerdehao <dehao@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 May 2014 22:25:06 +0000 (22:25 +0000)
commit27754c3a913c174dd21212101cea0bba058af189
tree1bd8a95838906705bcd87c8109dcd41dccc7f970
parent61dc68af23b09eea107f8f8fa916ec04b9e53f4c
2014-05-20  Dehao Chen  <dehao@google.com>

* ipa-inline-transform.c (clone_inlined_nodes): Use min of edge count
and callee count to get clone count.
* tree-inline.c (expand_call_inline): Use callee count instead of bb
count in copy_body.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210660 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-inline-transform.c
gcc/tree-inline.c