diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-08-16 18:53:23 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-08-16 18:53:23 +0000 |
commit | 63ebc2756028198247166b6f46554b62b028dce9 (patch) | |
tree | b7a29103ce922e45bfc60b426bcb55f35b8fd2b6 /gcc | |
parent | 086920c39f69451f49f174e15a7f6892c78a0574 (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f9acd65..0306225 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com> + + * tree.c (type_hash_add): Use permalloc to allocate nodes in the + hashtable. + Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk> * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define. @@ -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]; |