Commit 8e857bbf by Ilya Enkovich Committed by Kirill Yukhin

ipa-devirt.c (get_polymorphic_call_info): Use fndecl instead of current_function_decl.

gcc/
	* ipa-devirt.c (get_polymorphic_call_info): Use fndecl instead of
	current_function_decl.

From-SVN: r213947
parent 1113596f
2014-08-14 Ilya Enkovich <ilya.enkovich@intel.com>
* ipa-devirt.c (get_polymorphic_call_info): Use fndecl instead of
current_function_decl.
2014-08-14 Ilya Enkovich <ilya.enkovich@intel.com>
* cgraph.c (cgraph_node::function_symbol): Fix wrong
cgraph_function_node to cgraph_node::function_symbol
refactoring.
......
......@@ -2319,7 +2319,7 @@ get_polymorphic_call_info (tree fndecl,
= decl_maybe_in_construction_p (base,
context->outer_type,
call,
current_function_decl);
fndecl);
return base;
}
else
......
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