From 63ebc2756028198247166b6f46554b62b028dce9 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Mon, 16 Aug 1999 18:53:23 +0000 Subject: [PATCH] tree.c (type_hash_add): Use permalloc to allocate nodes in the hashtable. * tree.c (type_hash_add): Use permalloc to allocate nodes in the hashtable. From-SVN: r28728 --- gcc/ChangeLog | 5 +++++ gcc/tree.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f9acd651195..0306225202d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Aug 16 11:56:36 1999 Mark Mitchell + + * tree.c (type_hash_add): Use permalloc to allocate nodes in the + hashtable. + Mon Aug 16 17:04:15 1999 Jorn Rennecke * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define. diff --git a/gcc/tree.c b/gcc/tree.c index 2516301ba54..c688dfc5eb8 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -3759,7 +3759,7 @@ type_hash_add (hashcode, type) { register struct type_hash *h; - h = (struct type_hash *) oballoc (sizeof (struct type_hash)); + h = (struct type_hash *) permalloc (sizeof (struct type_hash)); h->hashcode = hashcode; h->type = type; h->next = type_hash_table[hashcode % TYPE_HASH_SIZE]; -- 2.30.2