aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto/lto-symtab.c
diff options
context:
space:
mode:
authorTrevor Saunders <tsaunders@mozilla.com>2013-11-18 12:18:12 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2013-11-18 12:18:12 +0000
commitfec39fa6b010bb0a37c93412e8f147668c558f98 (patch)
treea5a2310e101e4acec88120d4acdb8a49b8cf9bb3 /gcc/lto/lto-symtab.c
parent1f66e10e20b9b281a77ff85b2db40574524054ac (diff)
downloadgcc-fec39fa6b010bb0a37c93412e8f147668c558f98.zip
gcc-fec39fa6b010bb0a37c93412e8f147668c558f98.tar.gz
gcc-fec39fa6b010bb0a37c93412e8f147668c558f98.tar.bz2
remove nolonger needed {cgraph,varpool}_node_{,asm_}name () functions
From-SVN: r204946
Diffstat (limited to 'gcc/lto/lto-symtab.c')
-rw-r--r--gcc/lto/lto-symtab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/lto/lto-symtab.c b/gcc/lto/lto-symtab.c
index 2ebc07d..7c7075e 100644
--- a/gcc/lto/lto-symtab.c
+++ b/gcc/lto/lto-symtab.c
@@ -45,8 +45,8 @@ lto_cgraph_replace_node (struct cgraph_node *node,
{
fprintf (cgraph_dump_file, "Replacing cgraph node %s/%i by %s/%i"
" for symbol %s\n",
- cgraph_node_name (node), node->order,
- cgraph_node_name (prevailing_node),
+ node->name (), node->order,
+ prevailing_node->name (),
prevailing_node->order,
IDENTIFIER_POINTER ((*targetm.asm_out.mangle_assembler_name)
(IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (node->decl)))));
@@ -428,7 +428,7 @@ lto_symtab_merge_decls_1 (symtab_node *first)
if (cgraph_dump_file)
{
fprintf (cgraph_dump_file, "Merging nodes for %s. Candidates:\n",
- symtab_node_asm_name (first));
+ first->asm_name ());
for (e = first; e; e = e->next_sharing_asm_name)
if (TREE_PUBLIC (e->decl))
dump_symtab_node (cgraph_dump_file, e);