summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-05 14:22:28 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-05 14:22:28 +0000
commitb225134eff8b2bd2b7eb7e890fd5abeb368c6268 (patch)
tree29e664ed85b8be0c9ed83af0463ffda6d2e183de /gcc/function.c
parent6cc71317b73b0cebb0af6c468e11ec9c11ba9aba (diff)
downloadgcc-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/function.c')
-rw-r--r--gcc/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 5afb046677c..71003c2d61b 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -852,7 +852,7 @@ assign_temp (tree type_or_decl, int keep, int memory_required,
/* If we still haven't been able to get a size, see if the language
can compute a maximum size. */
if (size == -1
- && (size_tree = lang_hooks.type_max_size (type)) != 0
+ && (size_tree = lang_hooks.types.max_size (type)) != 0
&& host_integerp (size_tree, 1))
size = tree_low_cst (size_tree, 1);