summaryrefslogtreecommitdiff
path: root/gcc/lto/lto-partition.c
diff options
context:
space:
mode:
authortbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-18 12:18:12 +0000
committertbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-18 12:18:12 +0000
commitf1c8b4d7a477f2734ba9fb637d62ad19758dac1a (patch)
treea5a2310e101e4acec88120d4acdb8a49b8cf9bb3 /gcc/lto/lto-partition.c
parenta65b2b5ab34e61e0c655454ad57de6aeff08b0c1 (diff)
downloadgcc-f1c8b4d7a477f2734ba9fb637d62ad19758dac1a.tar.gz
remove nolonger needed {cgraph,varpool}_node_{,asm_}name () functions
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204946 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto/lto-partition.c')
-rw-r--r--gcc/lto/lto-partition.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/lto/lto-partition.c b/gcc/lto/lto-partition.c
index 6a3d881acca..e0d020d30ec 100644
--- a/gcc/lto/lto-partition.c
+++ b/gcc/lto/lto-partition.c
@@ -197,7 +197,7 @@ add_symbol_to_partition_1 (ltrans_partition part, symtab_node *node)
node->in_other_partition = 1;
if (cgraph_dump_file)
fprintf (cgraph_dump_file, "Symbol node %s now used in multiple partitions\n",
- symtab_node_name (node));
+ node->name ());
}
node->aux = (void *)((size_t)node->aux + 1);
@@ -381,7 +381,7 @@ lto_max_map (void)
if (get_symbol_class (node) != SYMBOL_PARTITION
|| symbol_partitioned_p (node))
continue;
- partition = new_partition (symtab_node_asm_name (node));
+ partition = new_partition (node->asm_name ());
add_symbol_to_partition (partition, node);
npartitions++;
}
@@ -688,7 +688,7 @@ lto_balanced_map (void)
if (cgraph_dump_file)
fprintf (cgraph_dump_file, "Step %i: added %s/%i, size %i, cost %i/%i "
"best %i/%i, step %i\n", i,
- cgraph_node_name (order[i]), order[i]->order,
+ order[i]->name (), order[i]->order,
partition->insns, cost, internal,
best_cost, best_internal, best_i);
/* Partition is too large, unwind into step when best cost was reached and
@@ -824,7 +824,7 @@ promote_symbol (symtab_node *node)
DECL_VISIBILITY_SPECIFIED (node->decl) = true;
if (cgraph_dump_file)
fprintf (cgraph_dump_file,
- "Promoting as hidden: %s\n", symtab_node_name (node));
+ "Promoting as hidden: %s\n", node->name ());
}
/* Return true if NODE needs named section even if it won't land in the partition
@@ -885,7 +885,7 @@ rename_statics (lto_symtab_encoder_t encoder, symtab_node *node)
if (cgraph_dump_file)
fprintf (cgraph_dump_file,
- "Renaming statics with asm name: %s\n", symtab_node_name (node));
+ "Renaming statics with asm name: %s\n", node->name ());
/* Assign every symbol in the set that shares the same ASM name an unique
mangled name. */