Commit 009e5353 by Jan Hubicka Committed by Jan Hubicka

cgraph.c (cgraph_turn_edge_to_speculative): Mark target node as having address taken.



	* cgraph.c (cgraph_turn_edge_to_speculative): Mark target node
	as having address taken.

From-SVN: r201948
parent 1f65468a
2013-08-23 Jan Hubicka <jh@suse.cz>
* cgraph.c (cgraph_turn_edge_to_speculative): Mark target node
as having address taken.
2013-08-23 Jan Hubicka <jh@suse.cz>
* ipa-utils.h (method_class_type): Declare.
* ipa-devirt.c (method_class_type): Export.
......
......@@ -1097,6 +1097,7 @@ cgraph_turn_edge_to_speculative (struct cgraph_edge *e,
IPA_REF_ADDR, e->call_stmt);
ref->lto_stmt_uid = e->lto_stmt_uid;
ref->speculative = e->speculative;
cgraph_mark_address_taken_node (n2);
return e2;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment