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
This commit is contained in:
parent
1113596f06
commit
8e857bbfab
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue