aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-05-19 12:24:26 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1996-05-19 12:24:26 -0400
commit9e014ded891b0d68328c62f266877b8e8b281635 (patch)
treeb1d2d64d7822e2686cb30d0bbb872f5f576aaced /gcc/function.c
parent06398f9dc95bf93df06d3ed9870bcee754d9dd1a (diff)
downloadgcc-9e014ded891b0d68328c62f266877b8e8b281635.zip
gcc-9e014ded891b0d68328c62f266877b8e8b281635.tar.gz
gcc-9e014ded891b0d68328c62f266877b8e8b281635.tar.bz2
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. From-SVN: r12045
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 395cbf7..ee9ecf3 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.