On Thu, Oct 10, 2019 at 9:25 PM Jan Hubicka wrote:
>
> Hi,
> ipa-reference uses splay tree to map DECL_UIDs to trees. On other
> places we use hash-maps which are more sutiable.
A simple hash-table/jhash-set does it as well if the UID is the same
as DECL_UID.
You can use the tree_decl_hash hash-
Hi,
ipa-reference uses splay tree to map DECL_UIDs to trees. On other
places we use hash-maps which are more sutiable.
Bootstrapped/regtested x86_64-linux, comitted.
Honza
* ipa-reference.c: Do not include splay-tree.h
(reference_vars_to_consider): Turn to hash map.
(get_