* ipa-utils.h (ipa_polymorphic_call_context): Turn into class; add ctors.
commit3a4f036a4c4f4671a4672ab5b48cf9bdb79457f7
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 16 Aug 2014 09:10:23 +0000 (16 09:10 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 16 Aug 2014 09:10:23 +0000 (16 09:10 +0000)
treeb907ef9a6a408c9953805ab48b6f020422eeead2
parent29bffdb2617cc7b2f52edc0a1394767d71889c12
* ipa-utils.h (ipa_polymorphic_call_context): Turn into class; add ctors.
(possible_polymorphic_call_targets, dump_possible_polymorphic_call_targets,
possible_polymorphic_call_target_p, possible_polymorphic_call_target_p): Simplify.
(get_dynamic_type): Remove.
* ipa-devirt.c (ipa_dummy_polymorphic_call_context): Remove.
(clear_speculation): Bring to ipa-deivrt.h
(get_class_context): Rename to ...
(ipa_polymorphic_call_context::restrict_to_inner_class): ... this one.
(contains_type_p): Update.
(get_dynamic_type): Rename to ...
ipa_polymorphic_call_context::get_dynamic_type(): ... this one.
(possible_polymorphic_call_targets): UPdate.
* tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Update.
* ipa-prop.c (ipa_analyze_call_uses): Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214060 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/ipa-devirt.c
gcc/ipa-prop.c
gcc/ipa-utils.h
gcc/tree-ssa-pre.c