diff options
author | Jan Hubicka <jh@suse.cz> | 2013-08-23 17:55:22 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2013-08-23 15:55:22 +0000 |
commit | 64cbf23d1f42c3ac9e545077868c6b669c1b5b5c (patch) | |
tree | 2e1a9c0b0d0fe3d55d04432be9805968347279f3 /gcc/ipa-utils.h | |
parent | c4be65686206f422b2a3401b2e18bccf830984f4 (diff) | |
download | gcc-64cbf23d1f42c3ac9e545077868c6b669c1b5b5c.zip gcc-64cbf23d1f42c3ac9e545077868c6b669c1b5b5c.tar.gz gcc-64cbf23d1f42c3ac9e545077868c6b669c1b5b5c.tar.bz2 |
ipa-utils.h (method_class_type): Declare.
* ipa-utils.h (method_class_type): Declare.
* ipa-devirt.c (method_class_type): Export.
* cgraphunit.c (analyze_functions): Do basic devirtualization;
do not walk base classes of anonymous types.
From-SVN: r201944
Diffstat (limited to 'gcc/ipa-utils.h')
-rw-r--r-- | gcc/ipa-utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ipa-utils.h b/gcc/ipa-utils.h index 3c6c93c..4272455 100644 --- a/gcc/ipa-utils.h +++ b/gcc/ipa-utils.h @@ -59,6 +59,7 @@ odr_type get_odr_type (tree, bool insert = false); void dump_possible_polymorphic_call_targets (FILE *, tree, HOST_WIDE_INT); bool possible_polymorphic_call_target_p (tree, HOST_WIDE_INT, struct cgraph_node *n); +tree method_class_type (tree); /* Return vector containing possible targets of polymorphic call E. If FINALP is non-NULL, store true if the list is complette. |