aboutsummaryrefslogtreecommitdiff
path: root/gcc/go/go-gcc.cc
diff options
context:
space:
mode:
authorStrager Neds <strager.nds@gmail.com>2020-11-10 20:57:04 -0700
committerJeff Law <law@redhat.com>2020-11-10 20:59:01 -0700
commit4656461585bfd0b925553995a9d114645f1287d0 (patch)
treef7d27f8f244e4b089232ef01ee4280ac759b737f /gcc/go/go-gcc.cc
parente79de0682e6cb6fe041a22f81cc65375c8c15bff (diff)
downloadgcc-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