gimple.c (gtc_visited, [...]): Remove.
authorJan Hubicka <jh@suse.cz>
Thu, 19 May 2011 21:49:10 +0000 (23:49 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 19 May 2011 21:49:10 +0000 (21:49 +0000)
commita30726a4347048ec3e3811457116c718ada759d6
treed4f6b187e8a112ffa4757f72020a92ae15615907
parent0955cf616c9da0fbd6721dec1e39048559483a45
gimple.c (gtc_visited, [...]): Remove.

* gimple.c (gtc_visited, gtc_ob, type_pair_hash, type_pair_eq): Remove.
(GIMPLE_TYPE_PAIR_SIZE): New macro.
(type_pair_cache): New static var.
(lookup_type_pair): Use fixed sized custom hash; make inline.
(gtc_visit, gimple_types_compatible_p, gimple_register_type_1): Update
calls of lookup_type_pair.
(print_gimple_types_stats): Remove cache stats.
(free_gimple_type_tables): Free type_pair_cache instead of gtc_visited
and gtc_ob.

From-SVN: r173925
gcc/ChangeLog
gcc/gimple.c