summaryrefslogtreecommitdiff
path: root/gcc/tree-nested.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-nested.c')
-rw-r--r--gcc/tree-nested.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-nested.c b/gcc/tree-nested.c
index 07d6c79a271..82cec960385 100644
--- a/gcc/tree-nested.c
+++ b/gcc/tree-nested.c
@@ -2897,7 +2897,7 @@ unnest_nesting_tree_1 (struct nesting_info *root)
if (node->origin)
{
node->unnest ();
- cgraph_finalize_function (root->context, true);
+ cgraph_node::finalize_function (root->context, true);
}
}