* cgraph.c (cgraph_speculative_call_info): Fix ref lookup
From-SVN: r202129
This commit is contained in:
parent
b9cbfeeb51
commit
57292ce9bd
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2013-08-31 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* cgraph.c (cgraph_speculative_call_info): Fix ref lookup
|
||||
|
||||
2013-08-31 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* basic-block.h (apply_scale): Make scale parmeter gcov_type.
|
||||
|
|
|
@ -1151,7 +1151,7 @@ cgraph_speculative_call_info (struct cgraph_edge *e,
|
|||
i, ref); i++)
|
||||
if (ref->speculative
|
||||
&& ((ref->stmt && ref->stmt == e->call_stmt)
|
||||
|| (ref->lto_stmt_uid == e->lto_stmt_uid)))
|
||||
|| (!ref->stmt && ref->lto_stmt_uid == e->lto_stmt_uid)))
|
||||
{
|
||||
reference = ref;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue