diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-05-19 16:24:26 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-05-19 16:24:26 +0000 |
commit | 641239ecbec2a1de917c35e2e3b5f5c56abc205d (patch) | |
tree | b1d2d64d7822e2686cb30d0bbb872f5f576aaced /gcc/function.c | |
parent | 589665c8bcb8d0ba27b3224d23926fdddc7080f3 (diff) | |
download | gcc-641239ecbec2a1de917c35e2e3b5f5c56abc205d.tar.gz |
Include bc-emit.h.
({save,restore}_machine_status): Add prototype for args.
(bc_runtime_type_code, bc_build_calldesc): Delete redundant decls.
(bc_emit_trampoline, bc_end_function): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12045 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/gcc/function.c b/gcc/function.c index 395cbf7f9ec..ee9ecf3fdec 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -39,9 +39,7 @@ Boston, MA 02111-1307, USA. */ then scans all the RTL instructions so far generated to correct them. */ #include "config.h" - #include <stdio.h> - #include "rtl.h" #include "tree.h" #include "flags.h" @@ -57,6 +55,7 @@ Boston, MA 02111-1307, USA. */ #include "basic-block.h" #include "obstack.h" #include "bytecode.h" +#include "bc-emit.h" /* Some systems use __main in a way incompatible with its use in gcc, in these cases use the macros NAME__MAIN to give a quoted symbol and SYMBOL__MAIN to @@ -314,8 +313,8 @@ static int virtuals_instantiated; /* These variables hold pointers to functions to save and restore machine-specific data, in push_function_context and pop_function_context. */ -void (*save_machine_status) (); -void (*restore_machine_status) (); +void (*save_machine_status) PROTO((struct function *)); +void (*restore_machine_status) PROTO((struct function *)); /* Nonzero if we need to distinguish between the return value of this function and the return value of a function called by this function. This helps @@ -323,10 +322,6 @@ void (*restore_machine_status) (); extern int rtx_equal_function_value_matters; extern tree sequence_rtl_expr; -extern tree bc_runtime_type_code (); -extern rtx bc_build_calldesc (); -extern char *bc_emit_trampoline (); -extern char *bc_end_function (); /* In order to evaluate some expressions, such as function calls returning structures in memory, we need to temporarily allocate stack locations. |