diff options
Diffstat (limited to 'gcc/java/decl.c')
-rw-r--r-- | gcc/java/decl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/decl.c b/gcc/java/decl.c index 841fb4cbad1..38c5a9d5729 100644 --- a/gcc/java/decl.c +++ b/gcc/java/decl.c @@ -1906,7 +1906,7 @@ java_mark_decl_local (tree decl) /* Double check that we didn't pass the function to the callgraph early. */ if (TREE_CODE (decl) == FUNCTION_DECL) { - struct cgraph_node *node = cgraph_get_node (decl); + struct cgraph_node *node = cgraph_node::get (decl); gcc_assert (!node || !node->definition); } #endif |