aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl@gnu.ai.mit.edu>1997-08-19 15:51:10 +0000
committerJeff Law <law@gcc.gnu.org>1997-08-19 09:51:10 -0600
commite9576d2c229b3caea1c0c7fb0bd56eb1dd8537ee (patch)
tree7cf181aafb185bb77524ed8abb6d24ee1b17c180 /gcc/expr.h
parente933cbe00706dc7e5f991cab06966b4ebf2d361f (diff)
downloadgcc-e9576d2c229b3caea1c0c7fb0bd56eb1dd8537ee.zip
gcc-e9576d2c229b3caea1c0c7fb0bd56eb1dd8537ee.tar.gz
gcc-e9576d2c229b3caea1c0c7fb0bd56eb1dd8537ee.tar.bz2
expr.h, real.h: Finish prototyping.
* expr.h, real.h: Finish prototyping. Some of hj's prototyping stuff after minor formatting fixes. From-SVN: r14846
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 d6bf3f6..fa7b7ed 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));