summaryrefslogtreecommitdiff
path: root/gcc/value-prof.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/value-prof.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/value-prof.c')
-rw-r--r--gcc/value-prof.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index ad70ceaea4a..f21ff00f2cb 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -1224,9 +1224,9 @@ init_node_map (bool local)
fprintf (dump_file, "Local profile-id %i conflict"
" with nodes %s/%i %s/%i\n",
n->profile_id,
- cgraph_node_name (n),
+ n->name (),
n->order,
- symtab_node_name (*(symtab_node **)val),
+ (*(symtab_node **)val)->name (),
(*(symtab_node **)val)->order);
n->profile_id = (n->profile_id + 1) & 0x7fffffff;
}
@@ -1237,7 +1237,7 @@ init_node_map (bool local)
fprintf (dump_file,
"Node %s/%i has no profile-id"
" (profile feedback missing?)\n",
- cgraph_node_name (n),
+ n->name (),
n->order);
continue;
}
@@ -1248,7 +1248,7 @@ init_node_map (bool local)
fprintf (dump_file,
"Node %s/%i has IP profile-id %i conflict. "
"Giving up.\n",
- cgraph_node_name (n),
+ n->name (),
n->order,
n->profile_id);
*val = NULL;
@@ -1297,7 +1297,7 @@ check_ic_target (gimple call_stmt, struct cgraph_node *target)
if (dump_enabled_p ())
dump_printf_loc (MSG_MISSED_OPTIMIZATION, locus,
"Skipping target %s with mismatching types for icall\n",
- cgraph_node_name (target));
+ target->name ());
return false;
}