aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2004-07-05 14:22:28 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2004-07-05 10:22:28 -0400
commit8963a5172c0a91b190f361ef3b400518ee347a00 (patch)
tree29e664ed85b8be0c9ed83af0463ffda6d2e183de /gcc/function.c
parent879dc459defa46da95fe01bb60a4be9688e520d3 (diff)
downloadgcc-8963a5172c0a91b190f361ef3b400518ee347a00.zip
gcc-8963a5172c0a91b190f361ef3b400518ee347a00.tar.gz
gcc-8963a5172c0a91b190f361ef3b400518ee347a00.tar.bz2
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/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 5afb046..71003c2 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);