aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-08-16 18:53:23 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-08-16 18:53:23 +0000
commit63ebc2756028198247166b6f46554b62b028dce9 (patch)
treeb7a29103ce922e45bfc60b426bcb55f35b8fd2b6 /gcc/tree.c
parent086920c39f69451f49f174e15a7f6892c78a0574 (diff)
downloadgcc-63ebc2756028198247166b6f46554b62b028dce9.zip
gcc-63ebc2756028198247166b6f46554b62b028dce9.tar.gz
gcc-63ebc2756028198247166b6f46554b62b028dce9.tar.bz2
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
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 2516301..c688dfc 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];