summaryrefslogtreecommitdiff
path: root/gcc/ipa-utils.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/ipa-utils.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/ipa-utils.c')
-rw-r--r--gcc/ipa-utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ipa-utils.c b/gcc/ipa-utils.c
index 84108166e66..db775f4cdcc 100644
--- a/gcc/ipa-utils.c
+++ b/gcc/ipa-utils.c
@@ -481,7 +481,7 @@ dump_cgraph_node_set (FILE *f, cgraph_node_set set)
for (iter = csi_start (set); !csi_end_p (iter); csi_next (&iter))
{
struct cgraph_node *node = csi_node (iter);
- fprintf (f, " %s/%i", cgraph_node_name (node), node->order);
+ fprintf (f, " %s/%i", node->name (), node->order);
}
fprintf (f, "\n");
}
@@ -610,7 +610,7 @@ dump_varpool_node_set (FILE *f, varpool_node_set set)
for (iter = vsi_start (set); !vsi_end_p (iter); vsi_next (&iter))
{
struct varpool_node *node = vsi_node (iter);
- fprintf (f, " %s", varpool_node_name (node));
+ fprintf (f, " %s", node->name ());
}
fprintf (f, "\n");
}
@@ -657,8 +657,8 @@ ipa_merge_profiles (struct cgraph_node *dst,
if (cgraph_dump_file)
{
fprintf (cgraph_dump_file, "Merging profiles of %s/%i to %s/%i\n",
- xstrdup (cgraph_node_name (src)), src->order,
- xstrdup (cgraph_node_name (dst)), dst->order);
+ xstrdup (src->name ()), src->order,
+ xstrdup (dst->name ()), dst->order);
}
dst->count += src->count;