diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-05 14:22:28 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-05 14:22:28 +0000 |
commit | b225134eff8b2bd2b7eb7e890fd5abeb368c6268 (patch) | |
tree | 29e664ed85b8be0c9ed83af0463ffda6d2e183de /gcc/langhooks.h | |
parent | 6cc71317b73b0cebb0af6c468e11ec9c11ba9aba (diff) | |
download | gcc-b225134eff8b2bd2b7eb7e890fd5abeb368c6268.tar.gz |
* function.c, langhooks-def.h, langhooks.h: Move max_size hook
to type hooks; remove bogus PARAMS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84113 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r-- | gcc/langhooks.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h index 6f526ef898d..895d94b16d8 100644 --- a/gcc/langhooks.h +++ b/gcc/langhooks.h @@ -141,6 +141,10 @@ struct lang_hooks_for_types invalid. */ void (*incomplete_type_error) (tree value, tree type); + /* Called from assign_temp to return the maximum size, if there is one, + for a type. */ + tree (*max_size) (tree); + /* Nonzero if types that are identical are to be hashed so that only one copy is kept. If a language requires unique types for each user-specified type, such as Ada, this should be set to TRUE. */ @@ -390,10 +394,6 @@ 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 *); |