diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-05-20 10:37:50 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-05-20 10:37:50 +0000 |
commit | e697e20a892668e5a9189980193e23412a0cc221 (patch) | |
tree | 63b68f9258232c111fa185a58bb0c65f557a3d2a /gcc/expr.h | |
parent | f96b337ae42e599a58d93473061854c2fb34d749 (diff) | |
download | gcc-e697e20a892668e5a9189980193e23412a0cc221.zip gcc-e697e20a892668e5a9189980193e23412a0cc221.tar.gz gcc-e697e20a892668e5a9189980193e23412a0cc221.tar.bz2 |
expr.h (lang_expand_constant): Declare.
* expr.h (lang_expand_constant): Declare.
* toplev.c (lang_expand_constant): Define it.
* varasm.c (output_constant): Use it.
From-SVN: r27058
Diffstat (limited to 'gcc/expr.h')
-rw-r--r-- | gcc/expr.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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)); |