summaryrefslogtreecommitdiffstats
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-03 13:40:47 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-03 13:40:47 +0000
commit8c3216aef96b99f911d02b76caee0faf6e4ba2d6 (patch)
tree7bd88a4c0b05c32d50e4e322adfc7539f8ada941 /gcc/langhooks.h
parentc56a693ae2eaef3b8fecee8f29fa4107dbd037fb (diff)
downloadppe42-gcc-8c3216aef96b99f911d02b76caee0faf6e4ba2d6.tar.gz
ppe42-gcc-8c3216aef96b99f911d02b76caee0faf6e4ba2d6.zip
* 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.h4
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 *);
OpenPOWER on IntegriCloud