diff options
author | Strager Neds <strager.nds@gmail.com> | 2020-11-10 20:57:04 -0700 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2020-11-10 20:59:01 -0700 |
commit | 4656461585bfd0b925553995a9d114645f1287d0 (patch) | |
tree | f7d27f8f244e4b089232ef01ee4280ac759b737f /gcc/go/go-gcc.cc | |
parent | e79de0682e6cb6fe041a22f81cc65375c8c15bff (diff) | |
download | gcc-4656461585bfd0b925553995a9d114645f1287d0.zip gcc-4656461585bfd0b925553995a9d114645f1287d0.tar.gz gcc-4656461585bfd0b925553995a9d114645f1287d0.tar.bz2 |
Improve efficiency of copying section from another tree
gcc/
* cgraph.h (symtab_node::set_section_for_node): Declare new
overload.
(symtab_node::set_section_from_string): Rename from set_section.
(symtab_node::set_section_from_node): Declare.
* symtab.c (symtab_node::set_section_for_node): Define new
overload.
(symtab_node::set_section_from_string): Rename from set_section.
(symtab_node::set_section_from_node): Define.
(symtab_node::set_section): Call renamed set_section_from_string.
(symtab_node::set_section): Call new set_section_from_node.
Diffstat (limited to 'gcc/go/go-gcc.cc')
0 files changed, 0 insertions, 0 deletions