diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-08-16 18:53:23 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-08-16 18:53:23 +0000 |
commit | e16b77d77f60c13bb4c4216df60e024a0ca760c9 (patch) | |
tree | b7a29103ce922e45bfc60b426bcb55f35b8fd2b6 /gcc/tree.c | |
parent | a76d97590478326b525faa9652a7a24e5bcc7475 (diff) | |
download | gcc-e16b77d77f60c13bb4c4216df60e024a0ca760c9.tar.gz |
* tree.c (type_hash_add): Use permalloc to allocate nodes in the
hashtable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28728 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |