r279109 - in /trunk/gcc: ChangeLog cgraph.c cgr...
marxin@gcc.gnu.org
marxin@gcc.gnu.org
Mon Dec 9 09:00:00 GMT 2019
Author: marxin
Date: Mon Dec 9 09:00:42 2019
New Revision: 279109
URL: https://gcc.gnu.org/viewcvs?rev=279109&root=gcc&view=rev
Log:
Come up with constructors of symtab_node, cgraph_node and varpool_node.
2019-12-09 Martin Liska <mliska@suse.cz>
PR ipa/92737
* cgraph.c (symbol_table_test::symbol_table_test): Fix
coding style.
* cgraph.h (symtab_node::symtab_node): New constructor.
(cgraph_node::cgraph_node): Likewise.
(varpool_node::varpool_node): Likewise.
(symbol_table::allocate_cgraph_symbol): Use newly
created constructor.
(symbol_table::allocate_cgraph_symbol): Remove.
* cgraphunit.c (symtab_terminator): Likewise.
* varpool.c (varpool_node::create_empty): Use newly
created constructor.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraph.c
trunk/gcc/cgraph.h
trunk/gcc/cgraphunit.c
trunk/gcc/varpool.c
More information about the Gcc-cvs
mailing list