diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-03 13:40:47 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-03 13:40:47 +0000 |
commit | 8c3216aef96b99f911d02b76caee0faf6e4ba2d6 (patch) | |
tree | 7bd88a4c0b05c32d50e4e322adfc7539f8ada941 /gcc/langhooks.h | |
parent | c56a693ae2eaef3b8fecee8f29fa4107dbd037fb (diff) | |
download | gcc-8c3216aef96b99f911d02b76caee0faf6e4ba2d6.tar.gz |
* langhooks-def.h (LANG_HOOKS_TYPE_MAX_SIZE): New langhook.
* langhooks.h (strct lang_hooks): New field type_max_size.
* function.c (assign_temp): Call it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84053 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r-- | gcc/langhooks.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h index a8c0ccac2a7..6f526ef898d 100644 --- a/gcc/langhooks.h +++ b/gcc/langhooks.h @@ -390,6 +390,10 @@ struct lang_hooks semantics in cases that it doesn't want to handle specially. */ tree (*expr_size) (tree); + /* Called from assign_temp to return the maximum size, if there is one, + for a type. */ + tree (*type_max_size) PARAMS ((tree)); + /* Update lang specific fields after duplicating function body. */ void (*update_decl_after_saving) (tree, void *); |