diff options
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r-- | gcc/cp/tree.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 74e7399..426c3d7 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -2194,28 +2194,6 @@ cp_copy_res_decl_for_inlining (tree result, return var; } -/* Record that we're about to start inlining FN, and return nonzero if - that's OK. Used for lang_hooks.tree_inlining.start_inlining. */ - -int -cp_start_inlining (tree fn) -{ - if (DECL_TEMPLATE_INSTANTIATION (fn)) - return push_tinst_level (fn); - else - return 1; -} - -/* Record that we're done inlining FN. Used for - lang_hooks.tree_inlining.end_inlining. */ - -void -cp_end_inlining (tree fn ATTRIBUTE_UNUSED ) -{ - if (DECL_TEMPLATE_INSTANTIATION (fn)) - pop_tinst_level (); -} - /* Initialize tree.c. */ void |