Add function comments for recently added member functions.

gcc/
	* symtab.c (set_section_for_node): Add function comment.
	(set_section_from_node): Likewise.
This commit is contained in:
Jeff Law 2020-11-30 15:21:38 -07:00
parent eafb46ce90
commit dccae0f42e

View File

@ -1668,6 +1668,10 @@ symtab_node::set_section_for_node (const char *section)
}
}
/* Set the section of node THIS to be the same as the section
of node OTHER. Keep reference counts of the sections
up-to-date as needed. */
void
symtab_node::set_section_for_node (const symtab_node &other)
{
@ -1691,6 +1695,9 @@ symtab_node::set_section_from_string (symtab_node *n, void *s)
return false;
}
/* Set the section of node N to be the same as the section
of node O. */
bool
symtab_node::set_section_from_node (symtab_node *n, void *o)
{