aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-prof.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r--gcc/value-prof.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index 5b19497..54a7feb 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -1223,8 +1223,8 @@ init_node_map (bool local)
cgraph_node_map = pointer_map_create ();
FOR_EACH_DEFINED_FUNCTION (n)
- if (cgraph_function_with_gimple_body_p (n)
- && !cgraph_only_called_directly_p (n))
+ if (n->has_gimple_body_p ()
+ && !n->only_called_directly_p ())
{
void **val;
if (local)