summaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-08-19 15:51:10 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-08-19 15:51:10 +0000
commitcaca85bd2fb7e09fe61f628dd354e9022e1f4352 (patch)
tree7cf181aafb185bb77524ed8abb6d24ee1b17c180 /gcc/expr.h
parent6c08487bc2fff10f547353eafedc0c7134f3df27 (diff)
downloadgcc-caca85bd2fb7e09fe61f628dd354e9022e1f4352.tar.gz
* expr.h, real.h: Finish prototyping.
Some of hj's prototyping stuff after minor formatting fixes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14846 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index d6bf3f6195b..fa7b7edd81c 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -315,7 +315,7 @@ typedef struct optab
#define GEN_FCN(CODE) (*insn_gen_function[(int) (CODE)])
#endif
-extern rtx (*const insn_gen_function[]) ();
+extern rtx (*const insn_gen_function[]) PROTO ((rtx, ...));
extern optab add_optab;
extern optab sub_optab;
@@ -507,7 +507,7 @@ extern rtx chkr_set_right_libfunc;
extern rtx chkr_copy_bitmap_libfunc;
extern rtx chkr_check_exec_libfunc;
-typedef rtx (*rtxfun) ();
+typedef rtx (*rtxfun) PROTO ((rtx));
/* Indexed by the rtx-code for a conditional (eg. EQ, LT,...)
gives the gen_function to make a branch to test that condition. */
@@ -595,6 +595,7 @@ rtx emit_conditional_move PROTO((rtx, enum rtx_code, rtx, rtx,
/* Return non-zero if the conditional move is supported. */
int can_conditionally_move_p PROTO((enum machine_mode mode));
+
#endif
/* Create but don't emit one rtl instruction to add one rtx into another.
@@ -931,7 +932,9 @@ extern rtx assemble_static_space PROTO((int));
/* Hook called by expand_expr for language-specific tree codes.
It is up to the language front end to install a hook
if it has any such codes that expand_expr needs to know about. */
-extern rtx (*lang_expand_expr) ();
+extern rtx (*lang_expand_expr) PROTO ((union tree_node *, rtx,
+ enum machine_mode,
+ enum expand_modifier modifier));
#ifdef TREE_CODE
/* Build bytecode call descriptor for function SUBR. */
@@ -942,3 +945,10 @@ extern rtx bc_build_calldesc PROTO((tree));
plus the minimal alignment shifted left 8 bits. */
extern tree bc_runtime_type_code PROTO((tree));
#endif
+
+extern void init_all_optabs PROTO ((void));
+extern void init_mov_optab PROTO ((void));
+extern void bc_adjust_stack PROTO ((int));
+extern void bc_load_localaddr PROTO ((rtx));
+extern void do_jump_by_parts_greater_rtx PROTO ((enum machine_mode, int,
+ rtx, rtx, rtx, rtx));