diff options
author | Bernd Schmidt <bernds@cygnus.co.uk> | 1999-08-09 14:00:21 +0000 |
---|---|---|
committer | Bernd Schmidt <crux@gcc.gnu.org> | 1999-08-09 14:00:21 +0000 |
commit | 49ad7cfa7ac804b56cff13d70022020126f24c55 (patch) | |
tree | 0c9ea6c13240638f450e4b7c92af4127356208c0 /gcc/tree.h | |
parent | 0dde4175efc346c70069a8a090590d3e63be04fa (diff) | |
download | gcc-49ad7cfa7ac804b56cff13d70022020126f24c55.tar.gz |
Include function.h in most files.
Include function.h in most files. Remove most of the global variables
duplicated in function.h. Add accessor macros for them which access
current_function. Delete INLINE_HEADER rtx and related code, replace
with code using struct function to store inlining related data.
From-SVN: r28626
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h index 10c7ac6e398..8380560e8ee 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -1095,7 +1095,7 @@ struct tree_type where the data was actually passed. */ #define DECL_INCOMING_RTL(NODE) (DECL_CHECK (NODE)->decl.saved_insns.r) /* For FUNCTION_DECL, if it is inline, holds the saved insn chain. */ -#define DECL_SAVED_INSNS(NODE) (DECL_CHECK (NODE)->decl.saved_insns.r) +#define DECL_SAVED_INSNS(NODE) (DECL_CHECK (NODE)->decl.saved_insns.f) /* For FUNCTION_DECL, if it is inline, holds the size of the stack frame, as an integer. */ #define DECL_FRAME_SIZE(NODE) (DECL_CHECK (NODE)->decl.frame_size.i) @@ -1363,6 +1363,7 @@ struct tree_decl /* For FUNCTION_DECLs: points to insn that constitutes its definition on the permanent obstack. For FIELD_DECL, this is DECL_FIELD_SIZE. */ union { + struct function *f; struct rtx_def *r; HOST_WIDE_INT i; } saved_insns; @@ -2202,6 +2203,8 @@ extern void setjmp_protect PROTO ((tree)); extern void expand_main_function PROTO ((void)); extern void mark_varargs PROTO ((void)); extern void init_dummy_function_start PROTO ((void)); +extern void expand_dummy_function_end PROTO ((void)); +extern void init_function_for_compilation PROTO ((void)); extern void init_function_start PROTO ((tree, char *, int)); extern void assign_parms PROTO ((tree, int)); extern void put_var_into_stack PROTO ((tree)); |