OSDN Git Service

* tree.c (type_hash_add): Use permalloc to allocate nodes in the
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Aug 1999 18:53:23 +0000 (18:53 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Aug 1999 18:53:23 +0000 (18:53 +0000)
hashtable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28728 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree.c

index f9acd65..0306225 100644 (file)
@@ -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.
index 2516301..c688dfc 100644 (file)
@@ -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];