summaryrefslogtreecommitdiff
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-16 20:51:31 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-16 20:51:31 +0000
commit8e7912a531869136f2b5796884c49cc0a7d578d2 (patch)
tree1fb4722f84cb260ae7dddc523251e0014eb13091 /gcc/langhooks.h
parent4a6920120beaf2da27fba3e8f1f19361f78d645c (diff)
downloadgcc-8e7912a531869136f2b5796884c49cc0a7d578d2.tar.gz
* langhooks-def.h (LANG_HOOKS_TREE_INLINING_COPY_RES_DECL_FOR_INLINING,
lhd_tree_inlining_copy_res_decl_for_inlining): Remove. * langhooks.c (lhd_tree_inlining_copy_res_decl_for_inlining): Remove. * langhooks.h (struct lang_hooks_for_tree_inlining): Remove copy_res_decl_for_inlining. * tree-inline.c (declare_return_variable): New modify_dest argument. Use it as the return value, when possible or manditory. Handle TREE_ADDRESSABLE types. (expand_call_inline): Extract MODIFY_EXPR lhs for call. Simplify replacement of CALL_EXPR. cp/ * cp-lang.c (LANG_HOOKS_TREE_INLINING_COPY_RES_DECL_FOR_INLINING): Die. * cp-tree.h (cp_copy_res_decl_for_inlining): Remove. * tree.c (cp_copy_res_decl_for_inlining): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84831 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r--gcc/langhooks.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h
index 1669eb24a10..345e89c5047 100644
--- a/gcc/langhooks.h
+++ b/gcc/langhooks.h
@@ -40,8 +40,6 @@ struct lang_hooks_for_tree_inlining
int (*disregard_inline_limits) (tree);
tree (*add_pending_fn_decls) (void *, tree);
int (*auto_var_in_fn_p) (tree, tree);
- tree (*copy_res_decl_for_inlining) (tree, tree, tree,
- void *, int *, tree);
int (*anon_aggr_type_p) (tree);
bool (*var_mod_type_p) (tree, tree);
int (*start_inlining) (tree);