diff options
author | Evgeny Kudryashov <kudryashov@ispras.ru> | 2017-09-21 12:54:38 +0000 |
---|---|---|
committer | Alexander Monakov <amonakov@gcc.gnu.org> | 2017-09-21 15:54:38 +0300 |
commit | 9acb459230318eb2f786dc0b974812884a2f3d54 (patch) | |
tree | ab2d39c2d809a1092c2c032f921a8d8bfd916544 /gcc/cgraph.h | |
parent | 765b3379354e3018b5440693625f8aace232f44a (diff) | |
download | gcc-9acb459230318eb2f786dc0b974812884a2f3d54.zip gcc-9acb459230318eb2f786dc0b974812884a2f3d54.tar.gz gcc-9acb459230318eb2f786dc0b974812884a2f3d54.tar.bz2 |
ipa: fix dumping with deleted multiversioning nodes
2017-09-21 Evgeny Kudryashov <kudryashov@ispras.ru>
* cgraph.c (delete_function_version): New, broken out from...
(cgraph_node::delete_function_version): ...here. Rename to
cgraph_node::delete_function_version_by_decl. Update all uses.
(cgraph_node::remove): Call delete_function_version.
From-SVN: r253066
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index 7daca1e..1758e8b 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -1272,7 +1272,7 @@ public: /* Remove the cgraph_function_version_info and cgraph_node for DECL. This DECL is a duplicate declaration. */ - static void delete_function_version (tree decl); + static void delete_function_version_by_decl (tree decl); /* Add the function FNDECL to the call graph. Unlike finalize_function, this function is intended to be used |