mirror of git://gcc.gnu.org/git/gcc.git
value-prof.c (gimple_ic): Use stmt_ends_bb_p to detect the case we need to split the edge and not the block.
2010-12-02 Richard Guenther <rguenther@suse.de> * value-prof.c (gimple_ic): Use stmt_ends_bb_p to detect the case we need to split the edge and not the block. From-SVN: r167376
This commit is contained in:
parent
660b994feb
commit
3b38fb7c7d
|
|
@ -1,3 +1,8 @@
|
||||||
|
2010-12-02 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
|
* value-prof.c (gimple_ic): Use stmt_ends_bb_p to detect
|
||||||
|
the case we need to split the edge and not the block.
|
||||||
|
|
||||||
2010-12-02 Bernd Schmidt <bernds@codesourcery.com>
|
2010-12-02 Bernd Schmidt <bernds@codesourcery.com>
|
||||||
|
|
||||||
DFA model for Core 2 and Core i7 scheduling.
|
DFA model for Core 2 and Core i7 scheduling.
|
||||||
|
|
|
||||||
|
|
@ -1146,7 +1146,7 @@ gimple_ic (gimple icall_stmt, struct cgraph_node *direct_call,
|
||||||
icall_bb->count = all - count;
|
icall_bb->count = all - count;
|
||||||
|
|
||||||
/* Do not disturb existing EH edges from the indirect call. */
|
/* Do not disturb existing EH edges from the indirect call. */
|
||||||
if (gsi_stmt (gsi_last_bb (icall_bb)) != icall_stmt)
|
if (!stmt_ends_bb_p (icall_stmt))
|
||||||
e_ij = split_block (icall_bb, icall_stmt);
|
e_ij = split_block (icall_bb, icall_stmt);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue