diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-05-20 10:37:50 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-05-20 10:37:50 +0000 |
commit | cd47158c70cf6b932f3a965ffcd6f0679c775a00 (patch) | |
tree | 63b68f9258232c111fa185a58bb0c65f557a3d2a /gcc/expr.h | |
parent | 48544e0292d33047411febc58744e438d5127b78 (diff) | |
download | gcc-cd47158c70cf6b932f3a965ffcd6f0679c775a00.tar.gz |
* expr.h (lang_expand_constant): Declare.
* toplev.c (lang_expand_constant): Define it.
* varasm.c (output_constant): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27058 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.h')
-rw-r--r-- | gcc/expr.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/expr.h b/gcc/expr.h index 1a6008a8f01..2164ccd9d06 100644 --- a/gcc/expr.h +++ b/gcc/expr.h @@ -1015,6 +1015,12 @@ extern rtx (*lang_expand_expr) PROTO ((union tree_node *, rtx, enum machine_mode, enum expand_modifier modifier)); +/* Hook called by output_constant for language-specific tree codes. + It is up to the language front-end to install a hook if it has any + such codes that output_constant needs to know about. Returns a + language-independent constant equivalent to its input. */ +extern union tree_node * (*lang_expand_constant) PROTO((tree)); + extern void init_all_optabs PROTO ((void)); extern void init_mov_optab PROTO ((void)); extern void do_jump_by_parts_equality_rtx PROTO((rtx, rtx, rtx)); |