diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2004-07-05 14:22:28 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2004-07-05 10:22:28 -0400 |
commit | 8963a5172c0a91b190f361ef3b400518ee347a00 (patch) | |
tree | 29e664ed85b8be0c9ed83af0463ffda6d2e183de /gcc/langhooks.h | |
parent | 879dc459defa46da95fe01bb60a4be9688e520d3 (diff) | |
download | gcc-8963a5172c0a91b190f361ef3b400518ee347a00.tar.gz |
function.c, [...]: Move max_size hook to type hooks; remove bogus PARAMS.
* function.c, langhooks-def.h, langhooks.h: Move max_size hook
to type hooks; remove bogus PARAMS.
From-SVN: r84113
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 *); |