]> git.ipfire.org Git - thirdparty/gcc.git/commit
lto.c (hash_canonical_type): Split out from ...
authorRichard Biener <rguenther@suse.de>
Tue, 15 Oct 2013 11:13:04 +0000 (11:13 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 15 Oct 2013 11:13:04 +0000 (11:13 +0000)
commitfffda8d7a38d84c5b5b5a1f2e6dd122e6d585901
tree0bc266957334d7f4625e0ead76ba145b6517a2eb
parent7569f6972e44e6c1f00ca5e64d940a90e0bc3e24
lto.c (hash_canonical_type): Split out from ...

2013-10-15  Richard Biener  <rguenther@suse.de>

lto/
* lto.c (hash_canonical_type): Split out from ...
(iterative_hash_canonical_type): ... here.  Register types
we recurse to.
(gimple_canonical_type_hash): Adjust.
(gimple_register_canonical_type_1): Split out from ...
(gimple_register_canonical_type): ... here.  Cache computed
hash value.
(lto_register_canonical_types): Split into two modes,
clearing and computing TYPE_CANONICAL.
(lto_read_decls): Adjust.
(read_cgraph_and_symbols): Do two passes over global trees,
first clearing then computing TYPE_CANONICAL.

From-SVN: r203600
gcc/lto/ChangeLog
gcc/lto/lto.c