summaryrefslogtreecommitdiff
path: root/gcc/integrate.h
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-10 11:38:18 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-10 11:38:18 +0000
commit00ea394c37c227f4e347df07e6feec200285367f (patch)
tree384851f1df2b0ff1a6f75866077508884ffa365a /gcc/integrate.h
parentb6778deb20edc0dcd114617b8c001d5856d8a5ac (diff)
downloadgcc-00ea394c37c227f4e347df07e6feec200285367f.tar.gz
2003-07-10 Steven Bosscher <steven@gcc.gnu.org>
* ggc.h, integrate.h, langhooks.h, real.h, toplev.h: Use `rtx' instead of `struct rtx_def *', `rtvec' instead of `struct rtvec_dev *' and `tree' instead of `union tree_node *' in function prototypes. * varray.h (const_equiv_data): Likewise for fields. (varray_data_tag): Likewise. * output.h: Likewise, and don't forward declare union tree_node. * emit_rtl.c (const_int_htab_hash): Cast to `rtx' instead of `struct rtxvec *'. * print-tree.c (print_node): Likewise. * reload1.c: Don't redeclare current_function_decl, tree.h is included in this file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69183 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/integrate.h')
-rw-r--r--gcc/integrate.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gcc/integrate.h b/gcc/integrate.h
index f5fbaabba13..94bf2e738d4 100644
--- a/gcc/integrate.h
+++ b/gcc/integrate.h
@@ -40,7 +40,7 @@ struct inline_remap
copy_rtx_and_substitute. */
int integrating;
/* Definition of function be inlined. */
- union tree_node *fndecl;
+ tree fndecl;
/* Place to put insns needed at start of function. */
rtx insns_at_start;
/* Mapping from old BLOCKs to new BLOCKs. */
@@ -150,14 +150,12 @@ extern void allocate_initial_values (rtx *);
/* Copy a declaration when one function is substituted inline into
another. */
-extern union tree_node *copy_decl_for_inlining (union tree_node *,
- union tree_node *,
- union tree_node *);
+extern tree copy_decl_for_inlining (tree, tree, tree);
/* Check whether there's any attribute in a function declaration that
makes the function uninlinable. Returns false if it finds any,
true otherwise. */
-extern bool function_attribute_inlinable_p (union tree_node *);
+extern bool function_attribute_inlinable_p (tree);
extern void try_constants (rtx, struct inline_remap *);