* predict.c (unlikely_executed_stmt_p): Cleanup.
From-SVN: r249068
This commit is contained in:
parent
f66e642373
commit
e813ee3485
@ -1,3 +1,7 @@
|
||||
2017-06-09 Jan Hubicka <hubicka@ucw.cz>
|
||||
|
||||
* predict.c (unlikely_executed_stmt_p): Cleanup.
|
||||
|
||||
2017-06-09 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* tree-ssa-loop-im.c (execute_sm): Do not force multi-threaded
|
||||
|
@ -797,10 +797,11 @@ unlikely_executed_stmt_p (gimple *stmt)
|
||||
cgraph_node *n = cgraph_node::get (decl);
|
||||
if (!n)
|
||||
return false;
|
||||
enum availability avail;
|
||||
|
||||
availability avail;
|
||||
n = n->ultimate_alias_target (&avail);
|
||||
if (avail < AVAIL_AVAILABLE)
|
||||
return NULL;
|
||||
return false;
|
||||
if (!n->analyzed
|
||||
|| n->decl == current_function_decl)
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user