]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ipa-devirt.c
ipa-utils.h (method_class_type): Remove.
authorJan Hubicka <hubicka@ucw.cz>
Sun, 24 May 2015 06:13:44 +0000 (08:13 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 24 May 2015 06:13:44 +0000 (06:13 +0000)
commit70e7f2a2df3f167c71b1a84ffb865c9a8e2610e1
treebe52c0776019c9e0eed372c7670a1d87ad3d6732
parent66f0bbd50c8cb13422f8cb60eb1a1077972c58cb
ipa-utils.h (method_class_type): Remove.

* ipa-utils.h (method_class_type): Remove.
* cgraphunit.c (walk_polymorphic_call_targets): Use TYPE_METHOD_BASETYPE.
* ipa-devirt.c (type_in_anonymous_namespace_p): Check that it is called
on main variants only.
(method_class_type): Remove.
(update_type_inheritance_graph): Use TYPE_METHOD_BASETYPE.
(build_type_inheritance_graph): Likewise.
* ipa-icf.c (sem_function::equals_wpa): Likewise.
* pa-polymorphic-call.c (decl_maybe_in_construction_p,
check_stmt_for_type_change): Use TYPE_METHOD_BASETYPE.

From-SVN: r223629
gcc/ChangeLog
gcc/cgraphunit.c
gcc/ipa-devirt.c
gcc/ipa-icf.c
gcc/ipa-polymorphic-call.c
gcc/ipa-utils.h
gcc/ipa.c
gcc/tree.c