OSDN Git Service

* gimple.c (gtc_visited, gtc_ob, type_pair_hash, type_pair_eq): Remove.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 May 2011 21:49:10 +0000 (21:49 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 May 2011 21:49:10 +0000 (21:49 +0000)
commitb2640e039c4beeb6eb4f4632847150805499670e
treed4f6b187e8a112ffa4757f72020a92ae15615907
parentd9973cb4d8e5511f564a8c591e94a57a4e00aa35
* 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.

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