Small refactoring of cgraph_node::release_body
authorJan Hubicka <jh@suse.cz>
Wed, 31 Mar 2021 09:35:29 +0000 (11:35 +0200)
committerJan Hubicka <jh@suse.cz>
Wed, 31 Mar 2021 09:35:29 +0000 (11:35 +0200)
commitd7145b4bb6c8729a1e782373cb6256c06ed60465
treeac5434e0f577133bb748f64406e070cb172afdbe
parentc3c616747a615589d38aff92981eacbf932eb5c6
Small refactoring of cgraph_node::release_body

PR lto/99447
* cgraph.c (cgraph_node::release_body): Remove all callers and
references.
* cgraphclones.c (cgraph_node::materialize_clone): Do not do it here.
* cgraphunit.c (cgraph_node::expand): And here.
gcc/cgraph.c
gcc/cgraphclones.c
gcc/cgraphunit.c