gimple-fold.c (gimple_extract_devirt_binfo_from_cst): Add new arugment expected_type.
authorJan Hubicka <jh@suse.cz>
Fri, 16 Aug 2013 12:38:04 +0000 (14:38 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 16 Aug 2013 12:38:04 +0000 (12:38 +0000)
commitc49bdb2ee934ab6efddbf9284cba5c76f6f3dd28
tree71b7f3809446131bd9d0c013ed500b7b38f3350e
parent4042dca916ad7f5a99438e37416d4fed2209cc6d
gimple-fold.c (gimple_extract_devirt_binfo_from_cst): Add new arugment expected_type.

* gimple-fold.c (gimple_extract_devirt_binfo_from_cst): Add new
arugment expected_type.
(gimple_fold_call): Use it.
* gimple.h (gimple_extract_devirt_binfo_from_cst): Update prototype.
* ipa-cp.c (ipa_get_indirect_edge_target_1): Update.
* ipa-prop.c (ipa_analyze_virtual_call_uses): Use
obj_type_ref_class.
(try_make_edge_direct_virtual_call): Likewise.
* tree.c (obj_type_ref_class): New.
* tree.h (obj_type_ref_class): Use it.

From-SVN: r201789
gcc/ChangeLog
gcc/gimple-fold.c
gcc/gimple.h
gcc/ipa-cp.c
gcc/ipa-prop.c
gcc/tree.c
gcc/tree.h