Free more of CFG
authorJan Hubicka <jh@suse.cz>
Wed, 25 Nov 2020 14:05:41 +0000 (15:05 +0100)
committerJan Hubicka <jh@suse.cz>
Wed, 25 Nov 2020 14:05:41 +0000 (15:05 +0100)
commit45281f120da85e0513cb5daa793112a37157ee70
treef0bf8486919c0838124452269034eed4916b71ce
parentfddc7f0080f1f056c4d145451608ebd3e807422a
Free more of CFG

* cfg.c (free_block): New function.
(clear_edges): Rename to ....
(free_cfg): ... this one; also free BBs and vectors.
(expunge_block): Update comment.
* cfg.h (clear_edges): Rename to ...
(free_cfg): ... this one.
* cgraph.c (release_function_body): Use free_cfg.
gcc/cfg.c
gcc/cfg.h
gcc/cgraph.c