aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gcc.gnu.org>2004-08-19 21:34:37 +0000
committerEric Christopher <echristo@gcc.gnu.org>2004-08-19 21:34:37 +0000
commit19114537c55ae227cf8b295be3e2c924965cdb18 (patch)
tree88aec2ccf229fd9ceeed5fc48cb4d5e3f6b7c217 /gcc/tree.h
parentb85058289589ba4346f6881b5f0cba0410299fc0 (diff)
downloadgcc-19114537c55ae227cf8b295be3e2c924965cdb18.zip
gcc-19114537c55ae227cf8b295be3e2c924965cdb18.tar.gz
gcc-19114537c55ae227cf8b295be3e2c924965cdb18.tar.bz2
langhooks-def.h (LANG_HOOKS_UNSAVE_EXPR_NOW): Remove.
2004-08-19 Eric Christopher <echristo@redhat.com> * langhooks-def.h (LANG_HOOKS_UNSAVE_EXPR_NOW): Remove. * langhooks.h (unsave_expr_now): Ditto. * tree.h (unsave_expr_1): Remove prototype. (lhd_unsave_expr_now): Rename to unsave_expr_now. * tree-inline.c (unsave_expr_1): Move here from tree.c. Make static. (unsave_expr_now): Rename from lhd_unsave_expr_now. * tree-sra.c: Fix up for rename. * tree-ssa-copy.c: Ditto. * tree-eh.c: Ditto. * tree.c (unsave_expr_1): Move to tree-inline.c. 2004-08-19 Eric Christopher <echristo@redhat.com> * cp-tree.h (cxx_unsave_expr_now): Delete prototype. * tree.c (cxx_unsave_expr_now): Delete. (cp_unsave_r): Ditto. From-SVN: r86277
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index f498db1..6c01ab1 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -3203,11 +3203,6 @@ extern int first_rtl_op (enum tree_code);
enum tree_node_structure_enum tree_node_structure (tree);
-/* Reset EXP in place so that it can be expanded again. Does not
- recurse into subtrees. */
-
-extern void unsave_expr_1 (tree);
-
/* Return 1 if EXP contains a PLACEHOLDER_EXPR; i.e., if it represents a size
or offset that depends on a field within a record.
@@ -3362,7 +3357,6 @@ extern tree get_set_constructor_bytes (tree, unsigned char *, int);
extern tree get_callee_fndecl (tree);
extern void change_decl_assembler_name (tree, tree);
extern int type_num_arguments (tree);
-extern tree lhd_unsave_expr_now (tree);
extern bool associative_tree_code (enum tree_code);
extern bool commutative_tree_code (enum tree_code);
@@ -3551,6 +3545,9 @@ extern void indent_to (FILE *, int);
/* In tree-inline.c: */
extern bool debug_find_tree (tree, tree);
+/* This is in tree-inline.c since the routine uses
+ data structures from the inliner. */
+extern tree unsave_expr_now (tree);
/* In expr.c */
extern rtx expand_builtin_return_addr (enum built_in_function, int, rtx);