tree.c (type_hash_canon): Put all types in the hash-table, when GC'ing.
* tree.c (type_hash_canon): Put all types in the hash-table, when GC'ing. From-SVN: r29351
This commit is contained in:
parent
5868eb4e0a
commit
858e574fdc
|
@ -1,3 +1,8 @@
|
|||
Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* tree.c (type_hash_canon): Put all types in the hash-table, when
|
||||
GC'ing.
|
||||
|
||||
Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* recog.h (struct recog_data, recog_data): New.
|
||||
|
|
|
@ -3756,7 +3756,7 @@ type_hash_canon (hashcode, type)
|
|||
}
|
||||
|
||||
/* If this is a permanent type, record it for later reuse. */
|
||||
if (TREE_PERMANENT (type))
|
||||
if (ggc_p || TREE_PERMANENT (type))
|
||||
type_hash_add (hashcode, type);
|
||||
|
||||
return type;
|
||||
|
|
Loading…
Reference in New Issue